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

Berkeley DB problem

From: Josh Kuo <josh.kuo_at_prioritynetworks.net>
Date: 2005-06-03 00:11:19 CEST

Hi all:

I am running subversion 1.1.1, and recently I discovered that my
repository periodically "crashes" whenever I try to access it from the
web interface. This is what I would get:

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="160029">
Berkeley DB error while checkpointing after Berkeley DB transaction for
filesystem /home/svn/zaurus/db:
Invalid argument
</m:human-readable>
</D:error>

Now, if I go into the repository on the server, and go into the "db"
directory (for me that would be /home/svn/zaurus/db) and remove all the
little __db.* files, then everything is back to normal... for a few
minutes.

I am still puzzled as to what triggers this error. Sometimes, there
would be absolutely no action (no one is checking anything in/out, or
even looking at the web interface), and the repository would "crash" and
these errors will stay until someone removes the __db.* files.

I know that running Berkeley DB 4.1 is probably my cause, but this
repository has worked fine for quite a while... I do not understand why
this is happening now.

Upgrading/down-grading Berkeley DB is not an attractive option, since we
have attempted to upgrade the core OS (Mandrake 9.2) on another machine,
and it broke lots of things...

I have read the subversion FAQ and found the section that is relevant to
me:

http://subversion.tigris.org/faq.html#bdb41-tabletype-bug

And also followed the advice on this mailing list post:

http://svn.haxx.se/users/archive-2005-03/0269.shtml

And rebuilt the repository. But the same symptom occurs.

Any pointers would be greatly appreciated.

TIA

-- 
Josh Kuo <josh.kuo@prioritynetworks.net>

Received on Fri Jun 3 00:13:19 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.