Kbase P65958: Can a Progress UNIX client session be terminated gracefully?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
GOAL:
Can a Progress UNIX client session be terminated gracefully?
GOAL:
Can a Progress UNIX client session be killed gracefully?
GOAL:
What UNIX KILL command can be used to terminate a Progress UNIX client session gracefully?
FACT(s) (Environment):
UNIX
FIX:
The control backslash (CTRL \) command generates the UNIX SIGQUIT signal. This signal is equivalent to the UNIX KILL -3 command.
A Progress UNIX client (_progres) is capable of trapping the UNIX SIGQUIT signal. Thus, if any Progress UNIX client session (self-service or client/server) is terminated from the client side using the control backslash (CTRL \) or terminated from the server side using the UNIX KILL -3 command, the Progress UNIX client session will stop all processing, back out any ongoing transactions and return gracefully to the UNIX shell.
Below is a Progress database log segment that displays a clean client termination derived from using the control backslash (CTRL \) command:
11:56:22 Usr 5: Login by userA on /dev/pts/310. (452)
11:56:42 Usr 5: KILL signal received. (298)
11:56:42 Usr 5: Begin transaction backout. (2252)
11:56:44 Usr 5: Transaction backout completed. (2253)
11:56:44 Usr 5: Logout by userA on /dev/pts/310. (453)
This next Progress database log segment displays a clean client termination derived from using the UNIX KILL -3 command from ther server side:
14:01:59 Usr 6: Login by userB on /dev/pts/277. (452)
14:05:26 Usr 6: KILL signal received. (298)
14:05:26 Usr 6: Begin transaction backout. (2252)
14:05:27 Usr 6: Transaction backout completed. (2253)
14:05:27 Usr 6: Logout by userB on /dev/pts/277. (453)