Subject: Re: Too Many Open Files
To: Dave Sainty <David.Sainty@MCS.VUW.AC.NZ>
From: Rick Byers <firstname.lastname@example.org>
Date: 05/26/1997 13:19:57
On Tue, 27 May 1997, Dave Sainty wrote:
> > Is there any conditions in which the open files limit will be
> > reduced (switching users to nobody for example, or forking a child)?
> > There are no setrlimits inside of apache that lower the file
> > limit. Is there any other condition other than the resource limit
> > that socket will return too many open files?
> Could be you're hitting FD_SETSIZE? See /usr/include/sys/types.h.
> This has to be limited by the software though, it isn't a system
> error to exceed FD_SETSIZE....
Hi Dave, thanks but I don't think I've got that many open (256). I just
checked some servers now and they are using about 45 file descriptors
each. I'm expecting the limit is 64 - which is what OPEN_MAX is defined