Re: NCSA httpd server and 1.3.8X kernels
Linus Torvalds (email@example.com)
Mon, 8 Apr 1996 11:18:34 +0300 (EET DST)
On Sun, 7 Apr 1996, Michael Brennen wrote:
> > Don't use pre-forked servers. They used some sort of hack to get them
> > operational under 1.2.x and later 1.1.x kernels, but something got fixed
> > during the 1.3 series, and it no longer works. Check out their hypernews
> > for 1.5.1 at http://hoohoo.ncsa.uiuc.edu/ for more information.
> > Generally speaking though, forget about using preforked servers under
> > 1.3, at least until the code is there to support it properly.
> FWIW, running a preforked Apache server works just fine on 1.3.x.
The "don't use preforked servers" (sorry, removed the attribution,
don't remember who wrote that part) only applies to NCSA httpd (and
possibly some others).
Apache seems to do the pre-forking the _right_ way, ie not having just
one listener that then gives out the requests to the others, but having all
the servers listen to the port, and then the one that gets there first
gets to serve it too. No fd passing, no overhead, no stupidity.
In short, it seems everybody should use apache.