BeNe Wrote:And this does make sense ?
Well, it is not a really fix and when a other app create the high load averge ?
Your Apache will restart and restart and restart.
Greez BeNe
I don't use other apps witch normaly generate high load, my high load always caused by php5-cgi.
If i kill the php when the load higher than 1 the load going down about 0.8 within a minute. I tired it. The normal load on my server about 0.4 so i think that this script can't restart and restart and restart
But if you want you can use this script only for e-mail alert... (replace the kill php and the apache restart lines with a mail sender)
That was a sollution when i used php 5.2.0 (i don't like the phonecalls after midnight...), but since i upgraded to the 5.2.5 the load never was higher...