Bug #18523: httpd Memory consumption with new PHP
From: tomki@alink.net
Operating system: BSDI 4.1
PHP version: 4.2.2
PHP Bug Type: Apache related
Bug description: httpd Memory consumption with new PHP
Apache 1.3.26 with mod_ssl is the webserver. DSO support.
I have PHP 4.1.2 configured like so, which does not cause this memory
problem: './configure --with-mysql
--with-apxs=/usr/local/web/apache/bin/apxs'
I currently have configured PHP 4.2.2 like so:
./configure --with-regex=php --enable-memory-limit
--with-mysql=/usr/local/mysql --with-imap=../imap-2002.RC2 --with-imap-ssl
--with-ttf --with-gd --enable-ftp --with-bz2=/usr --with-zlib
--with-openssl --with-apxs=/usr/local/web/apache/bin/apxs
--with-freetype-dir=/usr/local --enable-gd-native-ttf
--with-jpeg-dir=/usr --with-png-dir=/usr --with-pear --with-mm
and as soon as I install the new libphp4.so, and restart apache... the
new httpd processes dominate all the CPU time. Not hideously badly, but
enough so I can't let it continue. The load goes to 7 or 8 and stays
there.
The issue goes away when the older module is replaced.
There are no compile or make errors printed that I've noticed.
What can I do to resolve this? Is this a known problem with a certain
combination of modules?
Thanks
--
Edit bug report at http://bugs.php.net/?id=18523&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18523&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18523&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18523&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18523&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18523&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18523&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18523&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18523&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18523&r=globals
Thread (19 messages)
- tomki at alink dot net
- sniper@php.netBug #18523 Updated: httpd Memory consumption with new PHP
- msopacua at idg dot nl#18523 [Com]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
- sniper@php.net#18523 [Opn->Fbk]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
- sniper@php.net#18523 [Opn->Fbk]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
- msopacua at idg dot nl#18523 [Com]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Opn]: httpd Memory consumption with new PHP
- yohgaki@php.net#18523 [Opn->Fbk]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
- wez@php.net#18523 [Opn->Fbk]: httpd Memory consumption with new PHP
- sniper@php.net#18523 [Fbk]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
- sniper@php.net#18523 [Opn->Fbk]: httpd Memory consumption with new PHP
- tomki at alink dot net#18523 [Fbk->Opn]: httpd Memory consumption with new PHP
- iliaa@php.net#18523 [Opn->Fbk]: httpd Memory consumption with new PHP
- sniper@php.net#18523 [Fbk->NoF]: httpd Memory consumption with new PHP