PHP 4.0 Bug #5571: memory leaks/huge reported virtual size

From: Date: Fri, 14 Jul 2000 07:21:08 +0000
Subject: PHP 4.0 Bug #5571: memory leaks/huge reported virtual size
Groups: php.dev 
Request: Send a blank email to php-dev+get-24398@lists.php.net to get a copy of this message
From: mookid@sigent.ru Operating system: Linux Mandrake 7.0+ PHP version: 4.0.1pl2 PHP Bug Type: Other Bug description: memory leaks/huge reported virtual size When I run Apache under root with dynamically linked PHP 4.0.1pl2, 'ps' reports huge VSZ values for httpd, about 70M. 'top' says the size is normal though. May this be a normal behaviour, related to MM, or what? When I ran it under a nonprivileged user, the size was okay. Another thing is that httpd processes grow at each restart, grabbing dozens of kilobytes in RSS and another 30 crazy megs in VSZ. I built PHP against Apache 1.3.12 with the Russian patch, EAPI and SSI patches applied. Here's my configuration line: ./configure --with-apxs=/usr/sbin/apxs --without-mysql --without-gd --disable-static --disable-debug --enable-pic --enable-inline-optimization --enable-versioning --prefix=/usr --with-config-file-path=/etc/httpd/conf --enable-magic-quotes --enable-debugger --enable-track-vars --enable-safe-mode --enable-discard-path --enable-force-cgi-redirect --enable-memory-limit --enable-trans-sid --with-exec-dir=/usr/bin --with-mod_charset --with-mm --with-regex=system --with-gdbm --enable-xml --enable-wddx --enable-sysvsem --enable-sysvshm

« previous php.dev (#24398) next »