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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 + 12 = ?
Subscribe to this entry?

 
 [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: Thu May 23 03:01:28 2024 UTC