Consultor Eletrônico



Kbase P126160: Application is restarted as a background process when users close their Unix session by disconnectin
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/04/2011
Status: Unverified

SYMPTOM(s):

Application is restarted as a background process when users close their Unix session by disconnecting their terminal

Running TTY application on remote Unix server

Application was displaying a screen waiting for input before terminal is closed

Database log reads: vv_flush:I/O error 5 on fd 1

HANGUP signal received. (562)

Message 562 is not reported for same user after vv_flush error

Client process is still running after terminal is disconnected

Stack traces generated with SIGUSR1 may show database activity

Procore files generated with SIGUSR1 show that application was restarted

FACT(s) (Environment):

UNIX
Progress 8.x
OpenEdge 10.x

CAUSE:

Bug# OE00170971

CAUSE:

The likely cause is that the operating system did not send the SIGHUP signal to the process when the terminal was disconnected. The signal can be disabled using the "trap" command in the unix shell.

Receiving this signal is the condition for the Progress client to detect that the user has logged off and terminate the session. If the signal is not sent by the operating system, the Progress client considers that there was a read error during input and issues an untrappable Ctrl-C condition in the session. This causes the session to be restarted, and the startup procedure to be run again.

FIX:

Upgrade to 10.1C02 and higher.
Upgrade to 10.2A and higher.

A workaround is to:
Configure the operating system to send SIGHUP when the terminal is disconnected. Check that "trap" is not in use in the shell before the session is started.