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

deadlock in svnserve

From: <debian_at_gepro.cz>
Date: 2006-09-18 16:26:16 CEST

svnserve configured on Debian Sarge uses /dev/random for password exchange
handshake. As a result client connections deadlock in the case of
exhausted entropy, since /dev/random may be blocking indefinitely.

I observed this behaviour on a server dedicated for subversion, having no
keyboard or mouse. Apparently entropy collected during servicing a network
svn request is lower than used by authorisation. Just four simultaneous
requests were needed to trigger this problem.

configuring apr using --with-devrandom=/dev/urandom solved the problem.
I suggest this be the default on systems having both /dev/random and

Jan Kuznik

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 18 16:26:35 2006

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.