Re: How to increat [sic.] max open files?

Alan Cox (
Sat, 4 Jan 1997 00:52:22 +0000 (GMT)

> How can I maximize the number of Virtual HTTPd servers
> using Apache and Intel Linux? Currently I am able to
> run 123 servers per Machine with a stock Linux kernel.
> This is not enough for my needs.

Run two sets (or more) of servers with different configuration
files on different virtual host addresses.

> capable of handling much more. The only thing that forces
> this limit is the limitation designed into Linux and Libc.
> The reasons for this design limit are unclear.

The big problem is compatibility. Libc6 is the point that we can
make a clean break for new code. File descriptors however are the worst
of all. What happens if you pass file descriptor 257 to a program that
only understands 8 bit file descriptors..

> Agreed. Ther reason that an HTTPD server must run as one big process
> is because it must bind all those addresses to one port: 80.

Actually thats no reason at all. You can bind separately to specific
addresses. I've had apache 1.1 and 1.2 running at the same time on the
same box