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

Re: Can't diff after killing svnlook

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-01-18 03:19:25 CET

On Fri, Jan 17, 2003 at 05:32:21PM -0500, Greg Ward wrote:
> On 17 January 2003, cmpilato@collab.net said:
> > If you build with debugging symbols, try attaching to the svnadmin
> > process with GDB. If you interrupt the process, and it's hanging in
> > select(), chances are good that it ain't never coming back.
>
> Actually, "strace -p <pid>" works on Linux to see if something is
> hanging in select. Luckily it wasn't: "svnadmin recover" *finally*
> completed after almost two hours. That's a lot of repository downtime
> to suffer just because I hit Ctrl-C at an inopportune moment...

Yah, it is :-(

I haven't seen one take that long before. I wonder how much of it was spent
doing work versus how much time was "hmm. there is a lock. let's wait to see
if it gets used. nope. clear it. oh, another lock..."

In any case, I could see an interesting doc item would be some "expected"
times for running recovery based on the DB size. I wonder if there is
correlation with static items like numbers of items, and the correlation to
runtime items like how many locks were left open, etc.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 18 03:17:39 2003

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.