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

Re: svn update stuck in read() - matching svnserve process also in read()

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 1 Apr 2009 21:35:04 +0200

On Wed, Apr 1, 2009 at 6:38 PM, Moritz Möller <m.moeller_at_bigpoint.net> wrote:
> Hi,
>
> we have the problem that svn occasionally freezes.
>
> Client:
> svn version 1.5.1 / debian / 64bit / 8core.
> /checkout is a checkout of svn://out-svnserver/some-repository
> svn --non-interactive --username xxx --password xxx /checkout is stuck in a read() call on the network connection
>
> Server:
> svnserve version 1.5.6 / debian / 64bit / 8core / fsfs
> the matching svnserve process is also read()ing the network connection.
>
> As there is no timeout, the svn update is stuck until killed.
>
> Does anyone know about this or has an idea how to solve it?

Is the server headless? If so, it could be that it's reading from
/dev/random for entropy. However, on headless boxes, this resource can
get starved. Since /dev/random is blocking, your server (or client) is
waiting for the system to collect more entropy. Try using
/dev/urandom, or copy some entropy into /dev/random.

HTH,

Erik.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1510080

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-01 21:35:53 CEST

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