Database continually becomes corrupt
|Reported by:||Owned by:||Jonas Borgström|
|Severity:||critical||Keywords:||subversion database corruption|
On a fairly regular basis — seems like around once every few hours — something about trac causes the subversion database to corrupt, requiring a
svnadmin recover to fix it.
This sounds like its related to Ticket #571 (although we're not on Windows); I've tried the umask/chmod g+s stuff that
email@example.com suggested on that ticket, and it's slowed down the rate of these errors, but not completely stopped them.
The error we keep getting is:
('Berkeley DB error while opening environment for filesystem /home/svn/repository/db:\nDB_RUNRECOVERY: Fatal error, run database recovery', 160029).
We're running Trac 0.7.1 (as a CGI) under Apache 2.0 on RedHat ES with Subversion 1.0.6.