httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan van den Berg" <>
Subject RE: [users@httpd] Apache Examples Extreme Web Servers
Date Wed, 14 Mar 2007 10:11:43 GMT
-          My platform currently hosts 4381 Vhosts (and counting) this
is of course loadbalanced over multiple servers, for performance and
redundancy issues but they all share the _SAME_ Apache binary + config
(yes there is only one on a centralized storage).

-          Everything from source. I have to: because I have patched
versions of Apache/PHP4/PHP5. And I want to.

-          Apache 2.0.59. Because this is legacy code with proven
stability and I don't need the features of 2.2 (yet)

-          Yes, linux-guru you are probably hitting your open files
maximum. I had this problem too. But I wrote my own logger that uses
syslog-ng to centralize my logfiles (I might put it up one of these
days). But for now you might want to start Apache with "ulimit -n 65000"

-          You say you don't have MySQL running. How come there is a
MySQL socket for PHP: MYSQL_SOCKET /var/lib/mysql/mysql.sock?

-          Besides that linux-guru, you have a ton of open ports running
on your server. Might want to check that.... You would probably only
need 21, 80 (open) en 22 (filtered).






Van: linux guru [] 
Verzonden: dinsdag 13 maart 2007 22:32
Onderwerp: [users@httpd] Apache Examples Extreme Web Servers


Does anybody host about 2000-2500 virtual sites in single server?


Which version of Apache do you prefer 2.0 or 2.2 for hosting thousands
of websites?


Do you have examples or some experiment about the httpd.conf for this
kind of servers?


Have you ever noticed an error like this below;


apachectl stop, OK

apachectl start, No responce. FAIL


open the file which has virtual host records,  inc.vhost.httpd.conf put
# sign

start of 30-40 lines save and close the file.


apachectl start, OK


open the file again and remove the #'s


apachectl graceful, OK


Please help :) We are getting mad more and more everyday.


You could check the php config and other details at


We are using Redhat Enterprise Linux 4, we are installing apache , php ,
and modules from source.


The servers are extremly powerful and does not have other services like
mysql or mail server. only apache serving.


Please contact me directly if you think you could help.



View raw message