[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abandoned CVS server processes

From: Stewart Brodie
Subject: Re: Abandoned CVS server processes
Date: Mon, 04 Mar 2002 09:24:48 GMT
User-agent: Messenger-Pro/2.59beta2 (Newsbase/0.61b) (RISC-OS/4.00-Ursula002f) NewsHound/1.43-pre1

In message <address@hidden>
          address@hidden (Dan Peterson) wrote:

> While investigating an issue with CVS server processes (pserver v1.11), I
> noticed a number of processes that didn't appear to be talking to a client
> anymore and had been hanging around for many hours or even days.
> Some of the processes had a parent process ID of 1 which tells me the
> process maintaining the network connection had exited and the process had
> been adopted by "init".
> The majority of the processes still had the network connection, but the
> client side of the connection no longer existed (at least I don't think it
> did).
> I would estimate most (if not all) the client connections came from
> Windows-based clients.
> So... is this a known issue?
> Is it a problem with the CVS server process or a problem with the Windows
> client process?

We see loads of these dead processes consuming real resources on our server -
our current workaround is a daily cron job that reports still running cvs
processes so we can login and terminate them if they've been running more
than a few days.  The cron job also deletes their temporary directories.

We have theorised that it is Windows clients causing this - we never saw this
behaviour when we were entirely UNIX-based - but have no proof that it is so.

I did investigate modifying the cvs software to put the username and client
IP address in its process name so we could see with 'ps' which client is
involved with which server process, but it looked like a big job to do it
properly (I looked at sendmail's sources to see how it modifying its process
name, so possibly not the best guide) and I didn't have the time at the time
I wanted to know what was going on.

Stewart Brodie, Senior Software Engineer
Pace Micro Technology PLC
645 Newmarket Road
Cambridge, CB5 8PB, United Kingdom         WWW:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]