php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38940 performance is much slower after upgrade
Submitted: 2006-09-24 12:35 UTC Modified: 2006-09-24 13:24 UTC
From: quip at quip dot cz Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 5.1.6 OS: FreeBSD 6.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: quip at quip dot cz
New email:
PHP Version: OS:

 

 [2006-09-24 12:35 UTC] quip at quip dot cz
Description:
------------
After security upgrade from 5.1.4 to 5.1.6 on the production server, we have performance problems. CPU load was about 0.6 - 1 with version 5.1.4, but after ugprade to 5.1.6, load is from 1.5 - 3 and Apache somtimes starts forking too many childs. If we downgrade back to 5.1.4, load goes back to 0.6 - 1.

Reproduce code:
---------------
FreeBSD 6.0-STABLE SMP (Dual Xeon 3GHz with HTT + 2GB RAM)
Apache 2.0.59
PHP5 5.1.6

Installed PHP extensions:
php5-5.1.6
php5-bz2-5.1.6
php5-curl-5.1.6
php5-dom-5.1.6
php5-exif-5.1.6
php5-extensions-1.0
php5-ftp-5.1.6
php5-gd-5.1.6
php5-iconv-5.1.6
php5-mbstring-5.1.6
php5-mhash-5.1.6
php5-mysql-5.1.6
php5-mysqli-5.1.6
php5-openssl-5.1.6
php5-pcre-5.1.6
php5-posix-5.1.6
php5-session-5.1.6
php5-snmp-5.1.6
php5-sockets-5.1.6
php5-sysvmsg-5.1.6
php5-sysvsem-5.1.6
php5-sysvshm-5.1.6
php5-xml-5.1.6
php5-xmlreader-5.1.6
php5-xmlrpc-5.1.6
php5-xmlwriter-5.1.6
php5-zlib-5.1.6
pecl-PDO-1.0.3
pecl-PDO_MYSQL-1.0.1
pecl-zip-1.7.0

Expected result:
----------------
I expect same performance as with 5.1.4

Actual result:
--------------
The result is that webaplication (custom CMS) became unresponsive under heavy load. Normaly Apache runs with about 20 childs, but from time to time (1 - 10 times per day) Apache starts forking new childs until MaxClients limit is reached, then is restarted by "watchdog script".
There was not this type of problem until upgrade to 5.1.6 
2 same servers are running only Apache and one virtual host (loadbalanced) with one webapplication, database is on the third machine, so there is no "hidden" things causing this load.

Let me know if I can do/post more to find source of this performance problem.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-24 13:24 UTC] derick@php.net
We only support our own sources, not ports or patched source or binary packages. And we need MUCh more specific information anyway.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 15:01:29 2024 UTC