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

Re: Apache access slows down

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-11-09 23:14:08 CET

"Simon Knight" <sknight_10@hotmail.com> writes:

> When checking out the repository using http the checkout gets slower
> and slower until it takes several tens of seconds per file. In the
> end I have to kill svn. I waited once to see if it would complete,
> but gave up after several hours. This does not happen when using
> svnserve, it finishes in about 5 minutes (big repository).
> Interestingly, once this has happened with http, svnserve is also
> slow.

Does it remain slow if you stop httpd, making sure all the
threads/processes are killed?

> If the repository is restored from a backup then it all speeds
> up again, but if the repository is recovered using svn admin, its
> still slow.

The db_stat utility shows information about the Berkeley database.
Perhaps you could compare numbers before and after a slowdown. Start
with a "fast" repository, run a few svn:// checkouts and then run
db_stat to get some "before" numbers. Compare these with values after
an http:// checkout. Try things like

  db_stat -e -h path/to/repo/db
  db_stat -c -h path/to/repo/db
  db_stat -l -h path/to/repo/db
  db_stat -m -h path/to/repo/db

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 9 23:14:54 2003

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.