From:             [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version:      4.2.3
PHP Bug Type:     Zend Engine 2 problem
Bug description:  httpd processes eat my cpu

Description:
   Since I upgraded from php-4.0.6 and apache-1.3.26 to
php-4.2.3/apache-1.3.27, the httpd processes increase the load.

   Normally with the same scripts a process consumed from 0.00% to 1.00%
avg, but now I have 12 processes over 1.00% (13.00% topest) while I have
just 4 connections avg per minute.

   My cpu normally is 90% idle, now because httpd is 30% idle. I have a
box with 2 cpus, this line going to show you the info:

CPU states: 29.3% idle, 43.9% user, 26.6% kernel,  0.2% iowait,  0.0%
swap

Any ideas.

PHP conf:
./configure --with-apache=../apache_1.3.27 --enable-versioning \
--without-mysql --with-sybase=/usr/local/freetds --without-gd \
--enable-track-vars --with-system-regex --enable-trans-id \
--with-snmp --enable-ucd-snmp-hack

Apache conf:
APACHE 1.3.27

set PREFIX=/usr/local
set PERL5=/usr/local/bin/perl
setenv LIBS_SHLIB -lbind
setenv CFLAGS -I/usr/local/include
setenv LDFLAGS -L/usr/local/lib
setenv LIBS -lbind
setenv LD_LIBRARY_PATH /usr/local/lib

./configure      --prefix=${PREFIX} \
                 --with-layout=GNU \
                 --sysconfdir=${PREFIX}/etc/apache \
                 --includedir=${PREFIX}/include/apache \
                 --localstatedir=/var \
                 --datadir=${PREFIX}/www \
                 --suexec-docroot=${PREFIX}/www/data \
                 --proxycachedir=${PREFIX}/www/proxy \
                 --libexecdir=${PREFIX}/libexec/apache \
                 --without-confadjust \
                 --enable-shared=remain \
                 --enable-module=most \
                 --activate-module=src/modules/php4/libphp4.a \
                 --with-perl=${PERL5}

OS: 
solaris% uname -a
SunOS solaris 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-250

Unfortunaly I don't have installed gdb in the box.
-- 
Edit bug report at http://bugs.php.net/?id=19852&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19852&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19852&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19852&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19852&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19852&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19852&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19852&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19852&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19852&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19852&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19852&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19852&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19852&r=isapi

Reply via email to