The runtime system gracefully handles errors relating to shared code and license management. If the runtime cannot use shared code for some reason (such as running out of shared memory), the runtime simply loads the program into conventional memory and execution continues.
If acushare stops running or is stopped while networked runtime processes are active, the runime issues a warning message, alerting the user to restart acushare. If the runtime later detects that acushare has not been restarted, the runtime exits.
By default certain errors cause a warning message to be displayed in a message box, which requires a response from the user. You can change this behavior by setting the LICENSE_ERROR_MESSAGE_BOX configuration variable to 0. This will send error messages to the error output (stderr, or an error file if specified). These messages include:
The system has returned an error of an unknown nature when it tried to send a message to acushare. For shared memory, execution usually continues. If you kill acushare after some processes have attached to shared memory, those processes continue to use shared memory but new processes use conventional memory.
This is a one-time message warning that the product will exit soon if acushare is not restarted immediately. It indicates that a multiple-user license file is in effect, and the product has detected that acushare has been stopped and not restarted.
This indicates either: (1) code sharing has been requested (with the SHARED_CODE configuration entry), but cannot be implemented because acushare is not running, or (2) a multiple-user license file is in effect, and a runtime process cannot register itself with acushare because acushare is not running. After outputting the message, the runtime exits.
This message indicates that a process detected that acushare has been stopped and restarted, so the product attempted to re-register itself. However, it could not register itself, either because the maximum number of users has already been reached, or the maximum number of processes has already been reached.
A new process cannot be registered with acushare, either because the maximum number of users has already been reached, or because the maximum number of processes has been reached.
acushare: cannot create shared memory
This message indicates that you do not have enough shared memory configured in your system. Either your UNIX kernel does not have the resource configured, or all of the resources are in use by other programs. In either case, you should regenerate your UNIX kernel for more shared memory. See your UNIX system documentation.