Re: Apache Examples Extreme Web Servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux