From:
Operating system: Solaris 10
PHP version: 5.3.8
Package: Performance problem
Bug Type: Bug
Bug description:cpu steady on httpd processes never clears
Description:
------------
During a busy time over 600 httpd processes on the webserver and oracle
database
cpu load over 88. The cpu load on each httpd process climbs to 3 and 4 %
over
loading our server forcing cpuloads of > 200 on the webserver. After load
on the
database clears usually in about 15 min, the httpd process never clear
their cpu
usage even after a week of no activity. The cpu load on the httpd processes
usally ranges from .4 to 0%. The cpu load problem on the webserver is
definitely
related to slowness on the oracle database side, but what concerns me is
the
apache server never clears itself. I suspect there is some issue with the
oci
functionality.
I'm reporting this before upgrading to the latest version because i don't
see
any fixes related. We are using php version 5.3.4. Configure script below.
Home=/portal
ApacheStdName=httpd-
ApacheVer=2.2.17
PHPVer=5.3.4
PHPStdName=php-
OracleClientHome=/oraclient/ora920
MysqlHome=/usr/local/mysql
ModSSLStdName=mod_ssl-
ModSSLVer=2.8.22-1.3.33
cd ${Home}/${PHPStdName}${PHPVer}
./configure \
--prefix=${Home}/local \
--with-apxs2=${Home}/server/bin/apxs \
--with-gettext \
--enable-ftp \
--with-openssl=/usr/local/ssl \
--with-mysql=${MysqlHome} \
--with-pear=${HOME}/pear \
--enable-cli \
--disable-cgi \
--with-curl \
--with-mcrypt=/usr/local \
--with-zlib \
--with-zlib-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-xpm-dir=/usr/local \
--with-freetype-dir=/usr/local \
--enable-gd-native-ttf \
--with-ttf=/usr/local \
--with-gd \
--with-ldap=/usr/local \
--with-oci8=${OracleClientHome} \
--with-config-file-path=${Home}/etc
Test script:
---------------
We use
oci_connect
--
Edit bug report at https://bugs.php.net/bug.php?id=60274&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60274&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60274&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=60274&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60274&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=60274&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60274&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=60274&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=60274&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=60274&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=60274&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=60274&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=60274&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=60274&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60274&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=60274&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60274&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=60274&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=60274&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=60274&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=60274&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=60274&r=mysqlcfg