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

Re: FYI: Using subversion under FreeBSD 4.9-STABLE

From: Barry Pederson <bp_at_barryp.org>
Date: 2003-11-27 00:05:16 CET

Christian Kruse wrote:

> Hi,
>
> I'd like to use subversion under FreeBSD 4.9-STABLE. I ran into some
> problems creating the repository using svnadmin create: executing
>
> svnadmin create /path/to/repository
>
> caused the svnadmin process to hang. So I used truss (a tool like strace
> for FreeBSD) to check what happens. The output of truss showed me, that
> subversion stopped at a read call at file descriptor 14, which was, in
> this case, a file descriptor pointing to /dev/random. So I did a 'cat
> /dev/random' to check, if there is really no output from the /dev/random
> device:
>
> user@srv001:~ > cat /dev/random
> user@srv001:~ >
>
> The positive effekt of this action was, that svnadmin returned from the
> read() call (and stepped into the next read() call on /dev/random after
> closing the handle and opening a new one). I did this three times and
> after that, svnadmin exited with EXIT_SUCCESS. Now, everything works
> fine.

Maybe you should try using the FreeBSD "rndcontrol" program to help
/dev/random come up with data more quickly.

In my case, I looked at dmesg to find that my Ethernet card used IRQ 10, and
then created this script as /etc/rc.local:

---------
#!/bin/sh

#
# Give /dev/random something to chew on, otherwise subversion chokes
# when trying to commit
#
rndcontrol -s 10
---------

I've also seen this help Apache2 when doing SSL

     Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 27 00:06:08 2003

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.