Re: svn log hang

2013-10-16 Thread Ivan Zhakov
On 16 October 2013 16:36, Kaltenberger, Stefan
 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


svn log hang

2013-10-16 Thread Kaltenberger, Stefan
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).

Regards, Stefan

P.S.: Could you please keep me CC as I'm not subscribed to the list. Thanks.