From: [EMAIL PROTECTED] Operating system: FreeBSD 4.2 Stable PHP version: 4.0.4pl1 PHP Bug Type: Performance problem Bug description: CPU and Memory Spike I am running on FreeBSD 4.2 Stable, Apache 1.3.19 + PHP 4.0.4pl1 + Modssl on a Dual P2 400mhz with 256mb ram. From time to time, one of the httpd process will eat up all the CPU time and memory, and after around 5 to 10 seconds, it goes back to normal Even a Very simple script like <? echo "test"; ?> can make it happen. 1 out of 25 reload of the above script can make the spike happen. But the web server do not crash though. If I run on a script with heavy database access, it happen 1 out of 10 if I press reload button continously. BTW, is that normal for Apache to take up 30% of the CPU time to excute one single PHP-database-driven page? I search the bugs database and I found another user have the exact problem like what I am having right now. His bug id is #9154. This is how I configure PHP ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/etc --enable-track-vars --enable-ftp --with-gd=/usr/local --with-pcre-regex=/usr/local/ --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 With or Without modssl enable does not make a difference. Both can cause the spike. -- Edit Bug report at: http://bugs.php.net/?id=10299&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]