Forum Moderators: phranque
I have quite strong server, Dell Poweredge: Dual quad core, fast SAS 15k disks and 16GB RAM, os: Gentoo Linux, 64 bit.
I'm wondering why is my server so slow in peak times.
i get about 3000 tasks, 6GB used out of 16GB, load 1,16
some pages are loading very slow, especially pictures, sometimes it doesn't load pics, i get page ok after 3rd refresh, sometimes pics are not loaded and so on...
i tried to play with apache settings, but still cant get it working on full resources...
i'm running Prefork MPM,
last config is
<IfModule mpm_prefork_module>
StartServers 400
MinSpareServers 100
MaxSpareServers 400
ServerLimit 4000
MaxClients 4000
MaxRequestsPerChild 2000
</IfModule>
KeepAliveTimeout 12
KeepAlive On
MaxKeepAliveRequests 0
Can someone tell me how to speed up site a bit more , i wanna focus more on CPU, cuz it seems like using only 10, 20% of CPU resources ...
Seems like there's no way to make more load...
This forces the client to open a new HTTP connection for each and every object on your pages, instead of "pipelining" them through one connection.
I'd set the KeepAliveTimeout to at least 10 seconds, and set the MaxKeepAliveRequests to at least 32.
Have you read the Performance Tuning [httpd.apache.org] documentation at Apache.org?
Jim
maxkeepaiverequests:
i have read if its set to 0, then its unlimited
i finally got paid help from support in datacenter haus. maybe sometime can this thread help to someone else:
they told me that /proc/sys/net/netfilter/nf_conntrack_max increased to 250 000, i had 65 000, and also wrote in /etc/sysctl.conf
server was busting that limit of packets, increasing that value fixed all lost packets and server can finally run on full resources...
i'm sure i'd never find it out by myself...