[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: Erik Scrafford <erik_at_scrafford.org>
Date: 2006-06-03 00:19:11 CEST

Thanks everyone for your help, setting FD_SETSIZE in CFLAGS and
recompiling neon/subversion fixed the problem.

erik

On Jun 2, 2006, at 9:07 AM, Malcolm Rowe wrote:

> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 3 00:19:49 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.