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

Re: svnserve processes

From: Ryan Schmidt <subversion-2004_at_ryandesign.com>
Date: 2005-02-12 21:31:11 CET

On 11.02.2005, at 21:53, Igor Hjelmstrom Vinhas Ribeiro wrote:

>    Reading from /dev/random takes an undefined amount of time.
> /dev/random
> is a source of "true random" numbers in Linux - the timing of some
> events
> like keyboard manipulation is used for producing these numbers and, if
> there is nobody doing stuff that is used to feed this random number
> generator
> it simply blocks until it happens.
>   Try removing /dev/random (or moving it to something else) and
> creating a link
> from /dev/urandom to /dev/random. /dev/urandom is a pseudo random
> number
> generator that always returns a number immediately.
> * Just as an experiment: try doing your stuff while someone furiously
> plays with
> the keyboard on the machine in which the process is stopping. You
> will see that
> the wait will be *very* reduced.

Hold up. I gotta ask about this. I didn't understand a word the OP
said... what are we talking about? Are we saying that subversion uses
/dev/random, and that this takes a long time unless someone is banging
on the keyboard on the server? I hope I've misunderstood, because it's
certainly an unusual day in our company when anybody uses the keyboard
on the server. And if we're talking about the client and not the
server, then I'm also not sure why anyone would necessarily type on the
keyboard after having just told the thing to commit.
Received on Sat Feb 12 21:34:00 2005

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.