[SharedMemoryAccess]
|
Description
|
Factory value
|
Startup
|
---|---|---|---|
SignalHandler
|
The SignalHandler parameter controls the SMA signal handler functionality.
When set to yes, the SMA driver signal handler handles the signals defined with the Signals parameter.
The SMA driver signal handler enables the SMA system to survive the most common application failures, such as killing or interrupting the applications from outside, or when one of the application threads runs within the server code, and another thread running application code causes application to crash.
Upon the capture of certain signals, the signal handler closes the SMA connections safely and exits the SMA application. In most cases, the SMA server continues to run despite abnormal application exits.
The SMA driver signal handler installs itself when the first SMA connection is established and uninstalls itself when the last SMA connection is closed. Previously installed signal handlers are retained.
|
yes
|
NA
|
Signals
|
This parameter defines the signals that can break the SMA connection and is handled by the SMA driver.
The signals are defined as integers or with the following mnemonics: SIGSTOP, SIGKILL, SIGINT, SIGTERM, SIGQUIT, SIGABORT.
Note If the SMA application loops outside of the SMA driver (for example, does not call any functions), the signal can fail to terminate the application. In such a case:
1 Throw out the connections at the server.
admin command 'throwout <userid>'
2 Use SIGKILL signal to force the SMA application to exit.
kill -SIGKILL <pid>
|
Linux and UNIX: SIGINT, SIGTERM
Windows: SIGINT
|
NA
|