[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: Neil Schemenauer <nas-usenet_at_arctrix.com>
Date: 2003-04-18 18:35:12 CEST

Ben Collins-Sussman <sussman@collab.net> wrote:
> 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 ran into a similar problem myself (e.g. "why is this test
taking so long to complete ... hey moving the mouse makes it go
faster"). /dev/random should not be used to generate UUIDs.
/dev/urandom should be prefectly adequate.

/dev/random is for generating PGP keys or something like that.

  Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 18 19:02:38 2003

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