[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: Straw, Scott J <Scott.Straw_at_UNISYS.com>
Date: 2006-07-10 20:30:05 CEST

Thanks, everyone!

 

Disabling SVNPathAuthz did the trick.

 

Matt, I'll try the mod_deflate setting, too. Thanks!

 

- Scott

 

________________________________

From: Matt Doran [mailto:matt.doran@papercut.biz]
Sent: Friday, July 07, 2006 7:59 PM
To: Straw, Scott J
Cc: users@subversion.tigris.org
Subject: Re: svn log hangs?

 

Straw, Scott J wrote:

"svn log <fileName>" is hung or taking over an hour to run. We are
using Apache on the respository server, and clients are using Subversion
1.2.3.

 

Any ideas?

 

The most common cause of log slowness when using HTTP is SVNPathAuthz.
Disabling this dramatically increases log performance. You can read
about it here.

http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.s
erverconfig.httpd.authz.pathauthzoff

My understanding is that disabling this does not disable security
completely, but disables the checking of "sub-paths" for the request.

For example, when this is enabled and you do a "log", it checks that
every path in that commit is accessible by the user, so that there is no
information leak about parts of the repository you don't have access to.
But I think for most people this is overkill. Authz will still
restrict read/write access to the paths you've defined. If you
disable this option, then users can see that something has changed in a
path that they might not have read access to .... but they still can't
view the contents of the path.

If running svn log (and many other operations) over a slower connection,
I've found that enabling mod_deflate to compress the data over the wire
also makes things much faster.
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html

Cheers,
Matt
Received on Mon Jul 10 20:31:26 2006

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.