[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: Matt Doran <matt.doran_at_papercut.biz>
Date: 2006-07-08 02:58:38 CEST

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.


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.

Received on Sat Jul 8 03:00:07 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.