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

Svn1.2.0 and a preformance problem or a hanging db

From: Kahn, Peter <pkahn_at_connected.com>
Date: 2005-07-20 22:36:20 CEST

Hello, I am running an svn server on my Linux both with svnserve
(read/write) and httpd (read only) access with a BDB back end. I have
had a score of db failures, but in the past few months this has
subsided. I now am experiencing a problem with what looks like a wedged
db, but its not following the standard pattern I have seen for

 RedHat Linux 9, 2.4.20-8
 svn 1.2.0 (r14790)
 apache 2.0.54
 BerkeleyDB 4.3

The first troubling event was that my Linux box was utilizing memory and
disk in a severe pattern. It took 10 minutes to log on to the machine
and 45 minutes to shut it down. Logging on is normally instantaneous
and shutdowns usually take less than 5 minutes.

Standard pattern of Db corruption:
 1. db becomes corrupt
 2. user issues command
 3. user gets db error message fairly quickly

Current pattern:
 1. user issues command
 2. command hangs


I recall reading that 1.2.1 fixed some server side performance issue.
Because these fixes didn't have an issue number in their check comments,
so I do not know the nature of the problem that was addressed.

I did the only thing I can do, to run recovery. The db was fixed

My questions are:

1. What happened?
2. How can I watch for precursors and prevent it in the future?

Does anyone have any ideas?

Side Note: I have another machine with svn 1.2.1 on it. I performed a
hot copy of my repository to allow me to bring it over to the other
machine and test it under 1.2.1. The db didn't exhibit the bad behavior
on the second machine. I then tested the hot copy destination dir on
the original machine and it worked as well. So, hot copy (which I
believe I had set to skip unused log files) could have been used to
solve my problem as well.

Peter Kahn
TipicIM: pkahn@imserver
Iron Mountain Digital
PackReq Described:
Network Map:
Build Machine Info: http://ictinus/openwiki/ow.asp?BuildMachineRoadWork
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 20 22:39:42 2005

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.