This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: orphaned child processes with rxvt


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]