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

Re: you won't believe this.

From: Michael Price <michael.h.price.ii_at_lmco.com>
Date: 2003-04-14 21:53:42 CEST

Ben Collins-Sussman wrote:
> For the last month or so, I've had this curious problem when running
> 'make check' on my FreeBSD system.

Me too. Its so bad I just stopped running make check on that platform.

> I have a new theory: svn_repos_create() needs to generate a UUID,
> which calls apr_generate_random_bytes(), which depends on /dev/random,
> which *blocks* when it determines there isn't enough system entropy.
>
> I didn't pull this theory out of the air either: I've actually
> compiled Subversion on other systems before (some weird redhat
> systems) and *seen* svn_repos_create() block on this very problem. It
> wasn't until I forcibly recompiled APR against /dev/urandom (which is
> currently APR's 2nd choice) that this blocking behavior went away.
>
> Ugh, I think we really need to complexify the
> apr_generate_random_bytes() interface, so that blocking/quality
> behaviors can be selected. There's been talk about this in the APR
> list...

I'm glad you took the time to track down the problem.

-- 
Michael H. Price II       Member of the Engineering Staff
Lockheed Martin -- Advanced Technology Laboratories
3 Executive Campus, 6th Floor, Cherry Hill, NJ  08002
856-792-9746, fax 856-792-9925, email mprice@atl.lmco.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 14 22:09:08 2003

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