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

Re: Database is crashing too often

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-09-06 15:26:55 CEST

On 9/6/05, Matthias Fechner <idefix@fechner.net> wrote:
> Hi,
>
> i have here subversion 1.2.1 on FreeBSD running. For some days it is
> running fine and after a not reproducable time i get the error
> message, if i try to checkin:
>
> svn: Commit failed (details follow):
> svn: Berkeley DB error for filesystem /usr/local/svn/wow/db while
> opening environment:
> DB_RUNRECOVERY: Fatal error, run database recovery
> svn: bdb: PANIC: fatal region error detected; run recovery
>
> I need then to recover the database with svnadmin recover, after this
> it is working fine.
>
> What can here be the problem?
>

BDB can become wedged if multiple processes simultaneously
access the database. Or if certain assumptions about the file system's
locking capabilities are not true.

If this was a one time issue, I would run svnadmin recover and just
move on. If it happens repeatedly, then something in your setup
is not conducive to using bdb backend, so you should switch to
fs.

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 6 15:29:10 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.