orphaned child processes with rxvt
Christopher Faylor
cgf@redhat.com
Fri Sep 6 15:36:00 GMT 2002
On Fri, Sep 06, 2002 at 04:38:08PM -0500, Steve O wrote:
>> If I hit the "close" button in the window rather than typing "exit", rxvt
>> cleans up.. but there is still an "ssh" process alive and well sucking up 3
>> megs of ram.
>
>I was looking into this last night. The rxvt source doesn't seem
>to do any process management on exit, which says to me that
>the authors expect the child process to die when the parent
>dies.
>
>So the question is, why are rxvt spawned processes under cygwin
>detached from their parents, whereas on other systems they aren't.
>Any ideas?
In theory, child processes in a process group should be receiving a SIGHUP
on exit. Does ssh die on a SIGHUP?
Running rxvt under strace might be instructive.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list