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

Re: svn log hang

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Wed, 16 Oct 2013 19:51:03 +0400

On 16 October 2013 16:36, Kaltenberger, Stefan
<Stefan.Kaltenberger_at_fabasoft.com> wrote:
> Hi,
>
> I recently upgraded my Subversion client from version 1.7.5 to 1.8.3 and
> from that time on I experience hangs when executing multiple 'svn log'
> commands in a short amount of time. The "hanging" svn process consumes
> all CPU cycles it gets but never finishes.
>
> I can reproduce the problem using the following shell script (on Windows
> using Cygwin):
>
> #!/bin/bash
> ROOT="http://example.com/svn/trunk"
> for DIR in $(svn ls "${ROOT}" | head -n 4); do
> svn log -v -l 5 "${ROOT}/${DIR}" 2>&1 | head -n 100 > /dev/null
> done
>
> In my environment I need at least 4 svn processes to achieve the faulty
> behavior. The hang only occurs if the output is truncated using the head
> command (but it can be redirected to a normal file instead of /dev/null
> which then contains the expected log messages).
>
It seems like issue #4425 [1] which is fixed in r1522892 and proposed
for backport to Subversion
1.8.4.

[1] http://subversion.tigris.org/issues/show_bug.cgi?id=4425

-- 
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com
Received on 2013-10-16 17:51:57 CEST

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.