strange load
I am having a problem with my (personal) server since a couple weeks ago, for some reason "PHP" goes down every day. I can access any .html file or pictures load without any problem but any forums hosted on my server which uses PHP just goes down or any php files with or without a mysql backend just wont load. This happens when the server load goes up to 30 (every day). Whenever i kill mysql it doesnt stop the problem - whenever i kill apache the load goes down but whenever i restart apache - the load just gets back within seconds. Only a reboot fixes the load (for a while). And the server never gets back to normal after the load - it takes hours..Whenever this load occures SSH also seems to get very slow.
Server specs:
celeron 2.4
512 ram
rh9
WHM/Cpanel
Usually 150 to 200 users online @ the "BIG" forum and 1/2 at others (3 other forums)..
httpd.conf:
MaxClients 200
MaxRequestsPerChild 10000
Startservers 5
MinSpareServers 5
MaxSpareServers 8
Timeout 100
KeepAlive Off
Using Zend Optimizer
#######
The reason for these high loads is the astronomical number of httpd and mysqld processes running. That would indeed cause php scripts not to function properly, as they are fighting for memory and processing time.
#######
Here is an answer i received from ServerMatrix. Does this mean 512 ram aint enough for a board with +/-150 users online and no mods.. ? I've heard from others that it should be more then enough. Could anyone give me some advise? Any help is appriciated - thank you