I think you must use mod_expires (caching), mod_deflate (compression) and php-eaccelerator so that......apache process will be more free and takes less memory, which helps in increasing the number of connections....... :) Date: Fri, 4 Sep 2009 23:35:57 -0700 From: lmzaldivar@xxxxxxxxx To: users@xxxxxxxxxxxxxxxx Subject: Apache configuration for a high load Hi, I trying to configure apache to have a hight load using PHP/MySql applications. This is the current configuration: Timeout 300 KeepAlive Off MaxKeepAliveRequests 100 #KeepAliveTimeout 300 <IfModule prefork.c> StartServers 15 MinSpareServers 10 MaxSpareServers 40 ServerLimit 600 MaxClients 600 MaxRequestsPerChild 100 </IfModule> <IfModule worker.c> StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> This a single server running mysql and apache. I need to be able to server minimum of 1000 hits per min. Any of you can help me to optimize my configuration? I'll really appreciate all your help. thanks Get easy photo sharing with Windows LiveT Photos. Drag n' drop |