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

Re: Total failure in dav layer when >1024 files already open

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-06-02 18:07:20 CEST

On Fri, Jun 02, 2006 at 06:53:54PM +0300, Kalle Olavi Niemitalo wrote:
> If Neon cannot use poll(), then it must use select(), which has
> an intrinsic FD_SETSIZE limit. GNU libc on Linux defines
> FD_SETSIZE as 1024; perhaps it is the same on OS X.

Yes, that'll be it. According to [1], "the default size FD_SETSIZE
(currently 1024) is somewhat smaller than the current kernel limit to
the number of open files".

It looks like you can probably override this by defining FD_SETSIZE
yourself, in which case 'CFLAGS='-DFD_SETSIZE=8192' make' (or similar)
should fix the problem.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 2 18:07:53 2006

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.