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

RE: svnserve hangs all the time

From: Mads Randstoft <mr_at_comendo.dk>
Date: 2006-10-31 15:46:23 CET

OK... that could be it... It could also explain that if it locks
sometimes it starts running again if I open a connection to the machine
using ssh (Which writes back to /dev/random)

So recompiling APR... that is an option... I run it in a virtual
environment because I can then have 1 service pr. 1 host and don't
bother too much with security and all that (besides I am heavily
protected by DMZ and firewall setup and SVN access is only from internal
developer network and locked from all other networks to development
server system)

So I will talk to our systems guy of that...

-- Mads

-----Original Message-----
From: Erik Huelsmann [mailto:ehuels@gmail.com]
Sent: 31. oktober 2006 15:24
To: Mads Randstoft
Cc: users@subversion.tigris.org
Subject: Re: svnserve hangs all the time

************************************************************************
****
Denne mail er blevet scannet af http://www.comendo.dk og indeholder ikke
virus!
************************************************************************
****

> From time to time svnserve just hangs there and does nothing...
>
> It does not matter what client or protocol I use (normally I use
svn:// from
> either Linux or Windows clients, sometimes I use file:// from the
server

file:// doesn't use svnserve, just saying that because I don't know if
you know. Now you do :-)

> itself to test) and from time to time it just hangs there... and does
> nothing... It don't matter what service I request, list, import,
commit,
> checkout whatever...
>
> I followed the setup from the book and have used fsfs filesystem...
Because
> the server runs on a virtual server instance with a network mounted
> directory (Blade server setup with VMWare)... Could it be a problem
with the
> server running on VMWare?? Or is it some other problem??

No, it can't be a VMWare problem, or at least, the more likely option
is that it runs out of entropy in /dev/random. It reads bytes from
/dev/random to generate UUIDs, but reading from /dev/random is a
blocking operation (problem with APR). You could recompile your APR to
link to /dev/urandom which isn't cryptographic quality, but you
probably don't need that for UUIDs...

Note that other applications might use the same APR routines to do
crypto work though. Be sure you know what you do when replacing your
APR versions.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 31 15:47:26 2006

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.