[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: Michael Sweet <mike_at_easysw.com>
Date: 2006-06-02 16:35:19 CEST

Peter N. Lundblad wrote:
> Garrett Rooney writes:
> > On 6/2/06, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> > > On Fri, Jun 02, 2006 at 09:37:36AM -0400, Garrett Rooney wrote:
> > > > It's not exactly strange that it would fail, you've hit the per-user
> > > > file descriptor limit.
> > >
> > > Exactly what I thought, except that the first thing he does is to bump
> > > the ulimit to 32k, which should be plenty. I wonder if Neon has a
> > > problem with fds > 1024?
> >
> > Hmm. Interesting. Maybe something OS X specific?
> >
>
> I wonder if this is related to FDSET_SIZE and select. On Linux, this
> seems to be 1024 and that obviously doesn't change when increasing the
> limit.

Recent versions of glibc (>= 2.3.2 IIRC) *do* limit FDSET_SIZE to
1024, even though the kernel interface has not such limit. The
response I've been given from the glibc folks is that "we should be
using poll() instead"...

I don't think MacOS X duplicates this madness, and Solaris and other
commercial UNIX's have no problem with more than 1024 file descriptors
as long as you allocate your own fd_set's.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 2 16:35:49 2006

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