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

RE: troubleshooting a stuck repository

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: 2007-12-12 23:17:59 CET

> -----Original Message-----
> From: eg [mailto:egoots@gmail.com]
> Sent: Wednesday, December 12, 2007 3:09 PM
> To: Miller, Eric
> Cc: users@subversion.tigris.org
> Subject: Re: troubleshooting a stuck repository
>
> Miller, Eric wrote:
>
> > Some more info:
> >
> > The hang is not really a hang - it is a *very* slow operation.
> > It only hangs on lock and unlock commands.
> >
> > Anyone have ideas? This is starting to be a real issue..
> >
>
> What OS is your server and what version of SVN?

RHEL4 (I think).
svn 1.4.0

I ran strace on the unlock command and found it was hanging on

[...]
open("<repos>/db/write-lock", O_RDWR) = 5
fcntl64(5, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=4611900633648188104}) = 0

so I guess there is some sort of file locking that got bugged by
someone's svnserve. The odd thing is that the unlock would eventually
run - maybe there is some sort of timeout for the write-lock...

There was one svnserve pid that, when killed, fixed this issue. He was
later able to connect normally afterwards.

Still no idea why this all the sudden started happening.

Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 23:19:59 2007

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.