#19852 [Opn->Fbk]: httpd processes eat my cpu
| From: | sniper@php.net | Date: | Thu, 10 Oct 2002 23:19:40 +0000 |
| Subject: | #19852 [Opn->Fbk]: httpd processes eat my cpu | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22116@lists.php.net to get a copy of this message | ||
ID: 19852
Updated by: sniper@php.net
Reported By: lrvazquez@megared.net.mx
-Status: Open
+Status: Feedback
-Bug Type: Zend Engine 2 problem
+Bug Type: Apache related
Operating System: Solaris 7
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-10-10 12:09:57] lrvazquez@megared.net.mx
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 this bug report at http://bugs.php.net/?id=19852&edit=1