PHP 4.0 Bug #4796 Updated: WWW server runs on high loads all the time even with no requests at all.
| From: | Bug Database | Date: | Sun, 04 Jun 2000 07:33:22 +0000 |
| Subject: | PHP 4.0 Bug #4796 Updated: WWW server runs on high loads all the time even with no requests at all. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20159@lists.php.net to get a copy of this message | ||
ID: 4796
User Update by: noor@comrax.com
Status: Open
Bug Type: Performance problem
Description: WWW server runs on high loads all the time even with no requests at all.
Server is a P-II 350Mhz 128Mb machine, has AHA-2940 UltraSCSI adapter with Seagate
Baracuda hard disk. OS is FreeBSD 4.0, with recent patches and bug fixes, with recent libraries
and header files, and of course, recent native gcc that ships with the new FreeBSD 4.0.
After running Apache 3.0.12 + PHP 3.0.16 + MySQL 3.22.32 for quite some time now, and with
no significant loss in speed or performance, it was the time to switch to PHP4.0.0.
After compiling it with no few warnings (listed below), I had a new Apache 3.0.12 + PHP 4.0.0 +
MySQL
3.22.32 ready to substitute the old Apache.
I've installed the new Apache, and five minutes after, the load on the server reached 10!!
(For comparison, in the older Apache, it never exceeded 1.)
Configure line follows:
-----------------------
./configure --prefix=/usr/local --with-apache=../apache_1.3.12 --enable-discard-path
--with-config-file-path=/www/etc --disable-debug --enable-track-vars --enable-ftp
--with-gd=/usr/local --with-ttf --with-imap=/usr/local/imap --with-ldap=/usr/local/ldap --with-mysql
--with-iodbc=/usr/local --with-mm --with-regex=php --enable-sysvsem --enable-sysvshm --with-zlib
--with-gnu-ld
Warnings detected while compiling PHP:
--------------------------------------
global.h:508: warning: useless keyword or type name in empty declaration
global.h:508: warning: empty declaration
Are there any known speed and performance problems in FreeBSD that causes PHP 4.0.0 to
perform so slowly (or vice versa), and even overloads the server with NOTHING?
If you want me to send you more information, please tell me which checks to do, which
output to send you, and I'll do it.
Thank you in advance for your help.
Noor
Full Bug description available at: http://bugs.php.net/version4/?id=4796