php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4796 WWW server runs on high loads all the time even with no requests at all.
Submitted: 2000-06-03 19:11 UTC Modified: 2000-07-06 17:58 UTC
From: noor at comrax dot com Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0.0 Release OS: FreeBSD 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: noor at comrax dot com
New email:
PHP Version: OS:

 

 [2000-06-03 19:11 UTC] noor at comrax dot com
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 problems at all, 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.)

Are there any known speed and performance problems in FreeBSD that causes PHP 4.0.0 to perform so slowly, 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-04 09:33 UTC] noor at comrax dot com
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


 [2000-06-10 16:16 UTC] noor at comrax dot com
I have the exact same problem with PHP/4.0.0, Apache/1.3.12,  
RH Linux/2.2.15 with loads reaching to 60!! from perfectly ordinary
scripts with no endless loops. 

Those scripts worked perfectly with PHP/3.0.12.
 
I have to downgrade :/


 [2000-07-06 17:55 UTC] rasmus at cvs dot php dot net
No details here - can't do anything with this report
 [2000-07-06 17:58 UTC] rasmus at cvs dot php dot net
By the way, --enable-discard-path should not be used with the module version of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 22:01:32 2024 UTC