I have an apache box running a WordPress website.
For some reason it seems some apache threads are using most of the CPU (10%+), and the remainder little (0.1~).
The box is a dual CPU, Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (which each CPU has 4 cores, and 8 threads).
What is the reason the threads are shown like this, should they not be equal CPU per user?
Is there any set of apache optimizations to help reduce load (CentOS, base apache2 install with PHP and MySQL)?
prefork and worker MPM settings are default below
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 4
MaxClients 300
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>