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

Re: Subversion repository breaks and needs recovery

From: Morten Mertner <morten_at_mertner.com>
Date: 2004-07-04 01:44:20 CEST

Hi Max,

>It sounds like processes are exiting uncleanly whilst holding Berkeley DB shared region mutexes.
>
>Please tell us in detail what processes access the repository, and what operations are usually being attempted when the repository
>becomes wedged.
>
>Look out for any ways in which repository-accessing processes could be exiting abnormally.
>
>
The following is an excerpt from my Apache log and shows ALL hits made
on the
Subversion repository between two failures. It is the shortest period
I've found
between errors, and includes only 29 successful accesses:

[00:51:57] "REPORT /svn/repos/projects/gentle HTTP/1.1" 500 239
[01:29:03] "GET /svn/repos/projects/gentle/Source/ HTTP/1.1" 200 2103
[01:35:55] "GET /svn/repos/projects/gentle/Source/ HTTP/1.1" 200 2103
[01:40:57] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[01:40:58] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[01:40:58] "PROPFIND /svn/repos/projects/gentle HTTP/1.1" 207 708
[01:40:59] "PROPFIND /svn/repos/!svn/vcc/default HTTP/1.1" 207 457
[01:40:59] "REPORT /svn/repos/!svn/bc/445/projects/gentle HTTP/1.1" 200 472
[01:52:05] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[01:52:05] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[01:52:06] "PROPFIND /svn/repos/projects/gentle HTTP/1.1" 207 708
[01:52:06] "PROPFIND /svn/repos/!svn/vcc/default HTTP/1.1" 207 457
[01:52:07] "REPORT /svn/repos/!svn/bc/445/projects/gentle HTTP/1.1" 200 472
[02:11:00] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[02:11:01] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[02:11:01] "PROPFIND /svn/repos/projects/gentle HTTP/1.1" 207 708
[02:11:02] "PROPFIND /svn/repos/!svn/vcc/default HTTP/1.1" 207 457
[02:11:02] "REPORT /svn/repos/!svn/bc/445/projects/gentle HTTP/1.1" 200 472
[02:14:34] "GET /svn/repos/projects/gentle/Source/ HTTP/1.1" 200 2103
[02:21:02] "GET /svn/repos/projects/gentle/Source/ HTTP/1.1" 200 2103
[02:41:03] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[02:41:04] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[02:41:04] "PROPFIND /svn/repos/projects/gentle HTTP/1.1" 207 708
[02:41:04] "PROPFIND /svn/repos/!svn/vcc/default HTTP/1.1" 207 457
[02:41:05] "REPORT /svn/repos/!svn/bc/445/projects/gentle HTTP/1.1" 200 472
[02:52:22] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[02:52:22] "REPORT /svn/repos/projects/gentle HTTP/1.1" 200 147
[02:52:23] "PROPFIND /svn/repos/projects/gentle HTTP/1.1" 207 708
[02:52:23] "PROPFIND /svn/repos/!svn/vcc/default HTTP/1.1" 207 457
[02:52:24] "REPORT /svn/repos/!svn/bc/445/projects/gentle HTTP/1.1" 200 472
[03:11:06] "REPORT /svn/repos/projects/gentle HTTP/1.1" 500 239

Another thing to note is that none of the above should cause any changes to
the repository.

I believe you are right in that it is a locking problem, as the svnadmin
process
will lock/wait indefinately if I try to run the recovery without
shutting down
Apache.

Yours,
Morten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 4 06:12:35 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.