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