Displaying 1 result from an estimated 1 matches for "sleepavg".
2005 Dec 23
4
sshd blocks SIGALRM
Gidday everbody,
We have just found an interesting issue regarding the sshd daemon on our
SuSE system. For some reasons, the /usr/sbin/sshd process blocks SIGALRM as
shown in the /proc/pid/status:
$ cat /proc/`cat /var/run/sshd.init.pid`/status
Name: sshd
State: S (sleeping)
SleepAVG: 0%
[...]
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000002000 <-- SIGALRM is blocked
SigIgn: 0000000000001000
As a result, any descendent processes shall inherit this mask. The bad news
is that some commands rely on SIGALRM being unmasked, e.g. those invoking
alarm...