Bug #15965 Updated: memory limit not honoured
ID: 15965
Updated by: johnw@netnation.com
Reported By: johnw@netnation.com
Status: Open
Bug Type: Performance problem
Operating System: linux 2.4.18 (RedHat 6.2)
PHP Version: 4.1.2
New Comment:
This is taken from a RedHat 7.2 server with PHP 4.1.2 and Zend
Optimizer 1.3.1
someuser 3391 0.0 0.3 42460 3128 ? S 15:27 0:00 php
someuser 3426 0.0 0.3 42472 3128 ? S 15:28 0:00 php
someuser 3428 0.0 0.3 42460 3128 ? S 15:28 0:00 php
someuser 11825 11.0 0.4 42972 4716 ? S 18:53 0:00 php4
Previous Comments:
------------------------------------------------------------------------
[2002-03-09 16:39:17] johnw@netnation.com
I tried out the php4.30-dev version from php4-200203090900.tar.bz2 and
noticed that the cgi php processes still can hit 40MB or so. The Zend
Optimizer did not work with this PHP4 release, but should not be
relevant to the memory utilization. Could there be a memory leak? The
libraries/headers that php compiled against were unchanged from since
4.0.6.
------------------------------------------------------------------------
[2002-03-09 06:39:51] sander@php.net
Works fine for me, both with 4.2.0-dev and 4.3.0-dev, on Debian (Sid)
Linux (2.4.17).
------------------------------------------------------------------------
[2002-03-09 02:05:32] derick@php.net
Can anybody on QA verify this, and can you try a cvs snapshot from
snaps.php.net and see if it works there?
Derocl
------------------------------------------------------------------------
[2002-03-08 20:14:24] johnw@netnation.com
I had upgraded PHP from 4.0.6 to 4.1.2. I have memory limit enabled,
and is set 8MB. php is compiled as a cgi. With 4.1.2, however, it
seems this is not being honoured. I have seen numerous php processes
using 24MB to 40MB. I looked at the memory limit patch for 4.0.6 and
notice that it is present in 4.1.2. Has something else broken with
memory limit?
'./configure' '--disable-static' '--disable-debug'
'--enable-pic'
'--enable-inline-optimization' '--prefix=/usr'
'--with-config-file-path=/w/conf' '--enable-magic-quotes'
'--enable-debugger' '--enable-track-vars' '--enable-safe-mode'
'--enable-memory-limit' '--with-mod_charset'
'--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-versioning' '--with-db'
'--with-ndb'
'--with-db2' '--with-gdbm' '--with-mysql=/usr'
'--with-gd=/usr/local'
'--with-png-dir' '--with-jpeg-dir' '--with-xpm-dir=/usr/X11R6'
'--with-ttf' '--with-cybercash=/usr/local/cybercash/c-api' '--with-mm'
'--with-openssl' '--with-imap' '--with-imap-ssl'
'--with-kerberos'
'--with-dbase' '--with-filepro' '--with-gettext'
'--with-mcrypt'
'--with-zlib' '--with-curl' '--enable-sysvsem'
'--enable-sysvshm'
'--enable-force-cgi-redirect' '--enable-trans-sid' '--enable-ftp'
'--with-xml'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15965&edit=1
Thread (7 messages)