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

Re: consecutive access via svn:// stalls

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 20 Feb 2008 21:34:49 +0100

On Wed, Feb 20, 2008 at 3:45 PM, Markus Leuthold <kusi_at_forum.titlis.org> wrote:
> Hello
>
> I access a subversion repository via svn://, e.g
> $ svn://server/repo log
> After the third consecutive execution of the command above, the
> execution is stalled for like a minute. When I wait for a few minutes,
> everything is ok again and feels snappy. It looks like I triggered a
> timeout. If I execute the same command via file:// protocol, I don't
> experience these timeouts.
>
> I found a workaround for this problem: In svnserve.conf, I set
> anon-access=none. If I change this value to anon-access=read, I don't
> experience timeouts after consecutive access of svn://server anymore.
>
> I use:
> gentoo linux
> subversion 1.4.4
>
> whats going on here? bug?

Probably not. I think you're experiencing lack of entropy: the
svnserve protocol uses entropy (reads from /dev/random) for its
authentication with CRAM-MD5. When there's not enough entropy in the
system, the system stalls until there is (this is a property of
/dev/random). When you skip authentication, ofcourse you skip the step
of drawing entropy, preventing any stalls.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-20 21:35:19 CET

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.