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

Re: [PATCH] Problems dumping your repository?

From: Stephen C. Tweedie <sct_at_redhat.com>
Date: 2002-06-07 12:24:45 CEST


On Thu, Jun 06, 2002 at 01:37:30PM -0500, cmpilato@collab.net wrote:
> Those of you who have mature projects in Subversion repositories
> might have a little bit of problem dumping those repositories with
> `svnadmin dump' if the layers of deltification for any of your
> paths are too large. That is, if the undeltification of any path
> in any revision means applying a delta to a delta to a delta to a
> delta to ... well, enough times that you exhaust your stack space,
> the svnadmin application will be sacked by the OS.

If you know in advance you are likely to need more than 8MB of stack,
the application can easily do a setrlimit() to increase the limit. At
least under Linux, the default 8MB limit is just a soft limit, not a
hard one, so the application can raise it at will without requiring
any special privileges.

And to get your svn dump to work just the once, you can manually
change the stack limit at the command line without having to modify
the application at all with

        $ ulimit -s unlimited

for bash. Other shells probably have different
incantations for this: for csh it's

        $ limit stacksize unlimited


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 7 12:25:29 2002

This is an archived mail posted to the Subversion Dev mailing list.