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

Re: svn log hangs munching cpu

From: <dave_rodgman_at_fastmail.co.uk>
Date: Mon, 04 Aug 2008 10:21:59 +0100

On Fri, 1 Aug 2008 19:32:54 +0200, "Erik Huelsmann" <ehuels_at_gmail.com>
said:
> On 7/31/08, dave_rodgman_at_fastmail.co.uk <dave_rodgman_at_fastmail.co.uk>
> wrote:
> > Hi,
> >
> > following is top output:
> >
> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> > 31151 plgtest 25 0 7316 2564 2024 R 64 0.1 1215:37 svn
> > 6416 plgtest 25 0 7316 2564 2024 R 55 0.1 1489:08 svn
> > 24938 plgtest 25 0 7316 2564 2024 R 50 0.1 1538:18 svn
> > 32493 plgtest 25 0 7312 2556 2024 R 49 0.1 746:08.08 svn
> > 800 plgtest 25 0 7316 2564 2024 R 47 0.1 747:46.63 svn
> > 5718 plgtest 25 0 7312 2560 2024 R 46 0.1 1318:43 svn
> > 2382 plgtest 25 0 7312 2560 2024 R 45 0.1 1268:37 svn
> >
> > the command lines for the hung svn processes are of the form:
> >
> > svn log --incremental http://... -r$REV
> >
> > and, usually (even on the same box), running the exact same command
>
> exactly the same command, or using a different protocol? (ie svn log
> --incremental file://...)?

Hi Erik,

Yes, exactly the same, via the http protocol. I just did
"cat /proc/800/cmdline" and typed that into the command line.

I'm aware that authorisation can be expensive, but I don't think it's
the problem in this case.

- normally an identical command succeeds very quickly
- the hung commands have been running for 746 hours in some cases

so, I think there is some other issue here.

Dave

> > is fast (0.08 seconds), so this seems not reproducable. It may have
> > been triggered by network problems, but there's no way to know now.
> >
> > Is this a known problem? Should I raise an issue?
>
> Yes, it's a known issue. Please don't raise one.
>
> > client is svn v1.4.2 running on Debian, server is v1.4.3 via Apache.
>
> I'm sorry to have to tell you, but if you mean that it's *not* exactly
> the same command (ie using different protocols) you should *really*
> have contacted the users@ list: the problem you're reporting is
> addressed here:
> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.pathauthzoff
>
> Unfortunately, there's not much we can do about this issue, unless you
> disable authorization.
>
> HTH,
>
> Erik.

-- 
  
  dave_rodgman_at_fastmail.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-04 11:22:10 CEST

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.