[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: stranded svnserve processes?

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-06-27 08:44:35 CEST

On Tuesday 26 June 2007 20:10, Kylo Ginsberg wrote:
> I'm running svnserve from xinetd and I see a slow accumulation of
> stranded svnserve processes (a half dozen a day or so). This becomes a
> problem because I have xinetd's cps (connections per second) set to
> drop connections if there are 100 in a second, so once enough of these
> build up (e.g. 60 this morning), the normal fluctuations of svn usage
> end up causing peaks that hit the cps threshold and then users are
> getting "svn: connection closed unexpectedly".
>
> I've tried reproducing this but it's not as simple as just Ctrl-C'ing
> a client during a lengthy operation. In any event, any suggestion on
> how to handle this?

Sounds like a bug in svnserve. Once it detects that its input is at EOF, it
should terminate. I'd suggest that you 'gdb svnserve' and then at the gdb
prompt 'attach' to one of the hanging svnserves. Then you can at least get a
backtrace so developers can tell where it is hanging.
Also, I believe that xinetd can log the PIDs of started servers, thus you
might be able to make out which operation was performed and from where.

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 27 08:43:46 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.