|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a dual 2.8Ghz Zeon/1.5GB RAM running Redhat 7.2 with Apache 2.0.
I get over 500,000 page loads per day. The site is a combination of static and cgi pages. I'm trying to get the optimal settings for MaxClients and Servers in the http.conf. Here are my current settings: <IfModule prefork.c> StartServers 128 MinSpareServers 64 MaxSpareServers 128 MaxClients 300 MaxRequestsPerChild 10000 </IfModule> <IfModule worker.c> StartServers 5 MaxClients 256 MinSpareThreads 100 MaxSpareThreads 200 ThreadsPerChild 100 MaxRequestsPerChild 0 </IfModule> <IfModule perchild.c> NumServers 5 StartThreads 5 MinSpareThreads 5 MaxSpareThreads 10 MaxThreadsPerChild 20 MaxRequestsPerChild 0 </IfModule> Any on this is greatly appreciated. Thanks |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Rob wrote:
> I have a dual 2.8Ghz Zeon Do you mean Xeon? > /1.5GB RAM running Redhat 7.2 Yikes! That's old and unsupported. I hope you've been tracking security updates for all the packages you use on it. > with Apache 2.0. I get over 500,000 page loads per day. The site is a > combination of static and cgi pages. You should find you get a hefty performance boost if you port your CGI scripts to mod_perl (or whatever is appropriate for the language you write your CGI in). That will probably bring more benefit then twiddling around with the number of Clients and Servers Apache deals with at once. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is |
|
![]() |
| Outils de la discussion | |
|
|