lkml.org 
[lkml]   [1997]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: How to increat [sic.] max open files?
Date
> 	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

Alan


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.185 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site