Re: ghost 'ssh' and 'cvs server' processes
On Mon, Mar 03, 2003 at 07:09:19PM +0100, Cristian Ionescu-Idbohrn wrote:
> I run cvs with CVS_RSH=ssh.
>
> I regulary find hundreds of ghost processes both on the clients and on
> the cvs server.
Sounds like another manifestation of #164797 to me, perhaps?
> I expect a long list. The process forest looks like this:
>
> johndoe 25078 pts/0 S | \_ bash
> johndoe 25143 pts/0 S | \_ cvs stat -v
> johndoe 25145 pts/0 S | | \_ ssh cvs-server-box cvs server
> johndoe 25144 pts/0 S | \_ less
>
> I'm satisfied with what I see on the first page 'less' shows and just
> quit. I see this message in the xterm window:
>
> cvs [status aborted]: received broken pipe signal
>
> Looking att the process forest again, I see the ssh process is alive
> (25145 above) instead of being dead and lost contact with its parent:
>
> johndoe 25145 pts/0 S ssh cvs-server-box cvs server
Alternatively, if 'cvs stat' is failing to reap its ssh child process,
then perhaps that's a bug in cvs.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: