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

Re: svnadmin dump hangs

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-11-08 13:55:13 CET

On 11/4/05, Dave Rodgman <dave.rodgman@arm.com> wrote:
> Hi,
>
> I'm having issues with svnadmin dump, which occasionally hangs for no
> apparent reason. I'm calling it from a post-commit hook for backup
> purposes. I've verified that
>
> - repeating the same command by hand completes successfully
> - this is not due to disc-space issues
> - this is happening fairly often - maybe once a week with around
> 5000 commits per week
> - this is not related to the size of the commit - it's happened with
> small and bigish commits
>
> Server is v1.2.0 on fsfs backend. Should I raise a defect?
>
> Suggestions gratefully received
>
> Dave
>
> Some data follows -
>
> a recent occurrence:
>
> hook script does:
>
> svnadmin dump /svn/repositories/devsys/rvct -r 93301 --incremental
> --deltas > /tmp/incremental_dump_r93301_d20051102171903000000
>

What happens if you redirect stderr to /dev/null? It may be that the
pipe is getting filled. I vaguely remember we have forgotten to read
the stderr pipe after spawning the post-commit process. Which means
you can - maybe (and depending on the system) - write 4k output to it
before it blocks.

bye,

Erik.
Received on Tue Nov 8 13:59:03 2005

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.