httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Conner <...@conman.org>
Subject Re: [users@httpd] Apache Examples Extreme Web Servers
Date Tue, 13 Mar 2007 22:12:59 GMT
It was thus said that the Great linux guru once stated:
> Does anybody host about 2000-2500 virtual sites in single server?

  I've hosted about 1000+ sites on a single server, and have faced some of
the problems mentioned herein.

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

  No opinion on this.  I had no problems with Apache 1.3 and only upgraded
to 2.2 when one of the sites needed a reverse proxy.  

> 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.

  Sounds like you are hitting the limit of the number of open files per
process.  One thing I did was to have a single error log for everything. 
When that was exhausted, I increased the number of allowable open files by
adding "ulimit -n 8192" to the Apache startup script.  If that got
exhausted, I would have upped the actual operating system limit (under
Linux, use "sysctl -a" to list all OS tunable parameters; you use sysctl to
set these parameters as well).

  -spc 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message