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

svn 1.0.5: strange interaction

From: Matthew Rich <mrich_at_tigris.org>
Date: 2004-07-23 07:02:49 CEST

Hi,
        I was running this script to mess with a fairly large amount of data in
a working directory check status, commit, tag (copy), etc., and during
one commit the server seemed to stall, at least the svn client hung
about twiddling it's thumbs in the commit and would not respond to
anything short of SIGKILL, in which case (as you might expect) it
promptly went defunct.
  During all this (and after), everything that touched the repository
seemed to hang in an identical state, most notably viewcvs.cgi which
accesses the repository directly, so it doesn't seem to be mod_dav_svn
specific, which is what I was using to do the commit (Fedora Core 2
build btw). Restarting httpd seemed to fix the problem with viewcvs et.
al. hanging, at which point the server promptly reported that the
repository was in a bad state and I needed to run recover. This fixed
the problem, completeing the commit that had been in progress, but what
concerns me is why it happened in the first place.

It seemed to me to possibly be the culmination of various things:
1) prolonged intensive commit
2) concurrent accesses (from the same and other RA mechs)
3) and probably the actual cause: Netbackup running

or I could have just killed it while it was trying to time-out and it
evidently left the repository in a bad state

I noticed one issue in the ml about veritas hosing a repository, but I
wonder if anyone has any reason to believe that it is safe to run
Netbackup, or is there a bug in Subversion, or Netbackup even lol? In
any case I thought this might be of interest; it seemed like a locking
problem ... perhaps.
Cheers,

Matt

p.s.
grr, ok now I'm seeing this kind of thing on checkout, and netbackup
certainly isn't running:
svn: REPORT ... !svn/vcc/default': Could not read chunk size: Secure
connection truncated

p.p.s
ok a couple of bounces and a recover and it went back to normal, for the
moment. Possibly something not SVN related, but I'm almost certain that
it was just the problem repository, and not any of the others.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 23 07:03:00 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.