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

Re: Client hangs when svnserve does not respond

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-06-23 09:23:11 CEST

On Wed, 22 Jun 2005 kfogel@collab.net wrote:

> David James <james82@gmail.com> writes:
> > Here's a simple way to hang your Subversion client.
> >
> > $ svnserve -d
> > $ killall -STOP svnserve
> > $ svn cat svn://localhost/
> >
> > It appears to me that 'svn cat' never times out if we have a svnserve
> > process that is not responding. Is this behaviour intended?
>
> Not intended, but also not completely unreasonable. Should it ever
> time out? Someone can interrupt if they're upset, but maybe it's just
> a really, really slow link...
>
Ha, they'll be even more upset when they discover that they can't (easily)
interrupt;). Suspending, then kill -9 on Unix is the only way I succeeded.

This is a boring problem. If the server stops responding at all, we just
set a flag and never reach a cancelation check. I don't know how to fix
this. We want to run cleanup, but we don't want interrupted system calls
to be restarted.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 23 09:24:14 2005

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

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