Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 1997 10:48:48 -0600 (MDT)
From:      Marc Slemko <marcs@znep.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: Apache 1.1.3 and 1.2.0 problems under FBSD2.2.2
Message-ID:  <Pine.BSF.3.95.970620104528.17884E-100000@alive.znep.com>
In-Reply-To: <19970620104829.34842@pavilion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Jun 1997, Josef Karthauser wrote:

> The continuing saga of a sick web machine :(
> 
> A brief history.  We're running a P200pro FBSD2.2.2 machine here as
> a virtual web server.  It currently has 130ish web servers running,
> each with their own IP address.
> 
> Where did the problem start?  I'm not sure, but it was some combination
> of reaching 124ish web servers, and hitting a certain number of active
> http connections.

Grr.  I thought this had been fixed in FreeBSD, but I guess not.
The problem here is that the FILE structure uses only a short for
_file, which means it can only handle 255 fds.  When Apache (or,
more likely, one of the library routines it calls) tries to access
a FILE structure the low fds are all taken already so it chokes.  

This should be fixed in FreeBSD.  It is in BSDI 2.1.  Haven't looked
to see how many side-effects there are in increasing the size...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970620104528.17884E-100000>