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

Re: password-db failure?

From: Tobias Ringstrom <tobias_at_ringstrom.mine.nu>
Date: 2004-03-04 22:29:45 CET

Ben Wilhelm wrote:
> make install
> mkdir /usr/local/svn
> svnadmin create /usr/local/svn/mv
> ( edit /usr/local/svn/users to contain [users] \n username = password \n)
> ( edit /usr/local/svn/mv/conf/svnserve.conf to contain [general] \n
> password-db = ../../users \n)
> svnserve -d -r /usr/local/svn
> cd ~
> mkdir mv
> touch mv/foo.bar
> svn import mv svn://localhost/mv

That's a nice reproduction recepie, thanks!

> . . . and grr. Now it seems to be working - sort of - it's back to the
> five-minute delay-before-doing-anything. At least, it takes five minutes to
> authenticate my password, during which it uses 0% CPU.

What??? Five minutes? Something is very weird indeed. If you're on
Linux, you can run svnserve under strace like this:

     strace -t -f -o svnserve.strace svnserve -d -r /usr/local/svn

and checkout like this:

     strace -t -o svn.strace svn import mv svn://localhost/mv

If you study svnserve.strace and svn.strace after it's done, you
should be able to figure out why it's waiting for five minutes.
Another way is to use a debugger. Add --enable-maintainer-mode to
configure to compile with debug info.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 4 22:28:42 2004

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.