Kbase 13814: Terminals hang on logout after starting page writers
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Terminals hang on logout after starting page writers
Some customers have reported that if they start any of the page
writers and then log off their terminal, the terminal will hang. The
reason for this is that with version 6.3 the background writers were
not true daemons which when started become children of init (process
1). Instead they remain a child of the shell which it is started from.
If this shell is terminated (by a logout) all children of the
terminating process are sent a signal and are told to terminate. In
7.3A the processes were properly made daemons which eliminates the
problem.
To work around the problem without upgrading to 7.3, you can modify
the scripts that start the page writers (proapw, probiw, proaiw) and
add the word "nohup" to the line starting the writer.
Example:
#!/bin/sh
#
DLC=${DLC-/usr/dlc};export DLC
PROSHUT=${PROSHUT-$DLC/_mprshut}
$PROSHUT "$@" -C apw 2>&1 &
Can be changed to:
#!/bin/sh
#
DLC=${DLC-/usr/dlc};export DLC
PROSHUT=${PROSHUT-$DLC/_mprshut}
nohup $PROSHUT "$@" -C apw 2>&1 &
Progress Software Technical Support Note # 13814