I want to report a very annoying bug. We have lost one day to figure it out. Form time to time when calling a simple php script (ex. phpinfo()
the CPU on our server hits 100% caused by apache2.
After the apache server is restarted, everything is back to normal for a period of time (20min to 1 hour). Then again calling the small php script the CPU is at 100% - apache2 is taking 100%.
So after investigating and testing different setups we have found out that this problem is caused by SUHOSIN - installed based on the tutorial in How to forge.
Apparently we are not the only ones. http://forum.hardened-php.net/viewtopic.php?id=283
Removing SUHOSIN fixed the issue immediately. Here is our setup:
Debian Etch/ Apache 2.2.3 / PHP 5.2 / CPU Dual Core2 1,3 GHz / 2 GB Ram / 2x320GB HDD/
Hope this info is helpful.