Bug #18523: httpd Memory consumption with new PHP

From: Date: Wed, 24 Jul 2002 05:57:15 +0000
Subject: Bug #18523: httpd Memory consumption with new PHP
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14982@lists.php.net to get a copy of this message
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)

« previous php.bugs (#14982) next »