Operating System - HP-UX
1834586 Members
3837 Online
110069 Solutions
New Discussion

Re: Child processes not being killed

 
Deb Kauffunger
Occasional Contributor

Child processes not being killed

We execute jobs to kill users who have been idle for more than 20 minutes by
reviewing a "who -u". Every once in a while, when the PPID of the user shown in
the "who -u" is killed...the child processes are not. Has anyone run across
this before?? Any suggestions would be appreciated.
1 REPLY 1
Jung-hoon Kang_1
New Member

Re: Child processes not being killed

'kill -9' can't kill all processes always.

Add this to user's .profile or /etc/profile
if they use /usr/bin/sh.

export TMOUT=seconds

This will automatically disconnect after seconds+60sec.