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

Re: upgrade error

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 3 Jul 2010 00:15:42 +0200

On Fri, Jul 02, 2010 at 11:31:27PM +0200, Neels J Hofmeyr wrote:
> Checking out r900044 of trunk with an 1.6.12 client on OpenBSD 4.7,
> then running 'svn upgrade' with the svn built from that revision (r900044),
> gave me this error:
>

This is a known problem. You're running out of file descriptors.
On OpenBSD, the per-process file descriptor limit is by default
a little lower than on most other systems.

You will see the same problem on Linux or Mac, but you need much
larger working copies to reach the limit.

Try 'ulimit -n 1024' (e.g. in ~/.profile).
If that doesn't help, we can either wait until wc-ng moves to a
single db, or bump the system's default limit for open files to a
much higher value.

> [[[
> $ svn upgrade
> Upgraded '.'.
> Upgraded 'notes'.
> [...]
> Upgraded 'subversion/tests/cmdline/svntest'.
> Upgraded 'subversion/tests/cmdline/svndumpfilter_tests_data'.
> Upgraded 'subversion/tests/cmdline/svnsync_tests_data'.
> Upgraded 'subversion/tests/libsvn_fs_fs'.
> subversion/svn/upgrade-cmd.c:73: (apr_err=200030)
> subversion/libsvn_client/cleanup.c:131: (apr_err=200030)
> subversion/libsvn_wc/upgrade.c:1522: (apr_err=200030)
> subversion/libsvn_wc/upgrade.c:1475: (apr_err=200030)
> subversion/libsvn_wc/upgrade.c:1475: (apr_err=200030)
> subversion/libsvn_wc/upgrade.c:1475: (apr_err=200030)
> subversion/libsvn_wc/upgrade.c:1455: (apr_err=200030)
> subversion/libsvn_wc/upgrade.c:1249: (apr_err=200030)
> subversion/libsvn_subr/sqlite.c:969: (apr_err=200030)
> subversion/libsvn_subr/sqlite.c:969: (apr_err=200030)
> subversion/libsvn_wc/entries.c:2248: (apr_err=200030)
> subversion/libsvn_wc/entries.c:2075: (apr_err=200030)
> subversion/libsvn_subr/sqlite.c:225: (apr_err=200030)
> subversion/libsvn_subr/sqlite.c:225: (apr_err=200030)
> subversion/libsvn_subr/sqlite.c:208: (apr_err=200030)
> svn: unable to open database file
> subversion/libsvn_subr/sqlite.c:510: (apr_err=200030)
> svn: unable to open database file
> ]]]
>
> The working copy was a bit off after that.
> ~Neels
>
Received on 2010-07-03 00:17:08 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.