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

Re: Commit fails: Too many open files

From: Scott Gifford <sgifford_at_suspectclass.com>
Date: 2007-12-13 08:41:03 CET

Glenn Fowler <glenn.fowler@internetrix.com.au> writes:

> Hi,
>
> Sometimes we have a problem when committing a file (single file, not a
> large number of them) where the commit fails with a message such as:
> Too many open files
> svn: REPORT request failed on '/svn/products/!svn/vcc/default'
> svn: Can't open file '/data/svn/products/db/revs/21380': Too many open files

One cause of this is reaching a resource limit. Assuming I'm reading
the error correctly and the problem is happening on the server, you
could try increasing the maximum open files for Apache with ulimit,
either in its startup script or IIRC through an Apache directive. A
cause of this could be a large number of simultaneous users, an
application leaking file descriptors, or an unreasonably small ulimit.
You can try using "lsof" to see how many files your Apache server has
open and what they are.

----Scott.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 13 08:41:42 2007

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.