Operating System - HP-UX
1825009 Members
2722 Online
109678 Solutions
New Discussion

Killing Telnet Session Does not Flushes the Processes

 
Anurag_7
Advisor

Killing Telnet Session Does not Flushes the Processes

Hi All,

Killing a telnet does not kills the processes which were spawned while in that session immediately.

However, it appears as if these processes are flushed after quite a while.

Is this time configurable somewhere?

Thanks for your help on this.

Regards,

Anurag
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: Killing Telnet Session Does not Flushes the Processes

There is nothing special about processes whose parent shell was spawned by telnetd so there is no "time configurable". Processes don't know anything about time; they know about signals and how a process responds when its parent terminates is entirely dependent upon the process. For example, if there is a pipe connection between the parent and child and the parent dies then you get a broken pipe and the child typically dies as well. There is a signal to notify a parent of the death of a child but there is no corresponding signal for the reverse. What you are seeing is normal UNIX behavior. You need to find a better way to terminate your telnet sessions.
If it ain't broke, I can fix that.