You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michal Buczko <Mi...@domdata.com> on 2004/01/27 13:57:51 UTC
repository opening error
hello,
i've been testing subversion (ver 0.35 and recently 0.36) for a last few
weeks but unfortunately it started to behave veeery unstable.
Description of the problem:
The only operations performed on my repos are: import, checkout and
commit but after few hours (sometimes even minutes) repository gets
corrupted:
svn: Berkeley DB error while opening environment for filesystem
/usr/src/testrepos/db:
DB_RUNRECOVERY: Fatal error, run database recovery
although after:
svnadmin recover /usr/src/testrepos
everything returns to normal... or it only seems to return because few
minutes later the same situation occurs.
Do you have some idea why does it happen? hint: it's not the matter of
possible harddisk failures :)
Configuration:
Debian unstable (not connected to network) + Berkeley DB 4.2
(compiled from sources) + Subversion 0.36.0 (compiled from sources) +
Apache 2.0.48 (compiled from sources) and only one user (me) working
with repository, so there is no simultaneously work. One more thing,
'make check' executed in subversion directory passes all tests without
any errors.
best regards,
michal
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: repository opening error
Posted by Mark Benedetto King <mb...@lowlatency.com>.
On Tue, Jan 27, 2004 at 08:47:30AM -0600, Ben Collins-Sussman wrote:
> On Tue, 2004-01-27 at 07:57, Michal Buczko wrote:
>
> > Do you have some idea why does it happen?
>
> Sure. You say that you're the only user of the repository... does that
> mean you're accessing it directly via file:/// ?
>
> In any case, if so, it's easy to leave the repository in an inconsistent
> state if svn suddenly dies while accessing it (via kill -9, crash, or
> somesuch.) There's a FAQ about that.
>
Also, if you're mixing file:, svn:, and/or http:, it's very easy to run
into permissions problems that would be temporarily fixed by a recover.
There's a FAQ about that, too.
--ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: repository opening error
Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-01-27 at 07:57, Michal Buczko wrote:
> Do you have some idea why does it happen?
Sure. You say that you're the only user of the repository... does that
mean you're accessing it directly via file:/// ?
In any case, if so, it's easy to leave the repository in an inconsistent
state if svn suddenly dies while accessing it (via kill -9, crash, or
somesuch.) There's a FAQ about that.
If you want more feedback, you need to be a lot more specific about
*when* the repository gets stuck. In each case, you need to tell us
exactly the last thing you did before it wedges.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org