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

Re: svn log "hangs"

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-05 01:48:02 CET

On Nov 4, 2004, at 6:17 PM, Ray Johnson wrote:

> Since we have upgraded to Subversion 1.1.1 several of our developers
> have reported that "svn log" is hanging.  In actually, I think it is
> just super slow - like taking several minutes!
> It apparently has something to do with Apache.  All of our users go
> through Apache (using NT Auth, for security) so all of the repository
> access is of the http:// variety.  We do have the subversion service
> running (used by our build system) and if I do a "svn log" on the save
> file with the svn:// protocol it returns very quickly.
> This did not happen before version 1.1.1.  Has anyone else seen this
> problem?  Or have any clue what the issue might be?

Apache + svn 1.1.0 has some performance problems now, specifically
because of the new security fixes. 'svn log' takes about 2-3x longer
to run now, and 'svn ls' was even worse. (Again: we're talking about
mod_dav_svn here, not svnserve.)

svn 1.1.1 fixes the 'svn ls' problem, but there's no known way to make
'svn log' fast again. The only thing you can do is forgo all
path-based authorization; if you're willing to disable mod_authz_svn,
then setting 'SVNPathAuthz off' in svn 1.1.1 will make everything the
same speed it was in 1.0.

Hope this helps. 'svn log' shouldn't take several minutes -- that
seems highly exaggerated. Though, maybe it's not totally surprising.
You see, the security fixes causes mod_dav_svn 'svn log' to
independently verify the readability of every single changed-path in
each revision returned. This happens by doing an internal GET request
on each changed-path. Perhaps the NT Auth is being *really* slow on
these subrequests...?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 5 01:49:36 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.