On 5/12/06, linux@xxxxxxxxxxxxxxxxx <linux@xxxxxxxxxxxxxxxxx> wrote:
Hey Guys, I have a web server running: apache - httpd-2.2.0 php - php-5.1.2 The site that is hosted on this server has very high traffic and is on a 50mbit bandwidth: qdisc tbf 8006: dev eth0 rate 50Mbit burst 1531b lat 48.8ms The problem is that during peak hours (sometimes during normal hours) this system becomes very slow and the commands take longer to execute. Also the site becomes really slow. We have tweaked the followng httpd options: <IfModule mpm_worker_module> ServerLimit 80 StartServers 10 MaxClients 1995 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 35 MaxRequestsPerChild 0 </IfModule> Also, I have made sure that HostnameLookups is Off. The following is the server hardware info: Dual Intel(R) Xeon(TM) CPU 2.66GHz 2GB of ram I have added 4GB of swap space to this server as well. However, none of these changes have improved performance. Any ideas what I might be able to do to make this server perform better? Any suggestions or comments would be grately appreciated.
You need to start with a little more investigation. Use a tool like "top" to see if you are running out of memory or some other resource. Joshua. --------------------------------------------------------------------- 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