From: dsorrells at rhyton dot com Operating system: FreeBSD 4.7 PHP version: 4.3.2 PHP Bug Type: Performance problem Bug description: Excessive VSZ --with-mm
Note: Apache 1.3.27 on FreeBSD 4.7 When compiling 4.3.2 using the exact same config line as I used with 4.3.1, upon starting Apache, the VSZ memory shows a ridiculously high value: VSZ RSS 139840 5452 /usr/local/apache/bin/httpd Here is the mutual config line: ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql=/usr/local \ --with-mm=/usr/local \ --with-openssl-dir=/usr/local/ssl \ --with-zlib \ --with-curl \ --with-mcrypt \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-png \ --with-ttf \ --with-gd=/usr/local \ --enable-gd-native-ttf \ --enable-sockets \ --with-exif \ --enable-sysvsem \ --enable-sysvshm Through trial and error, I have identified mm as the culprit. When excluding "--with-mm=/usr/local \" from the config line and running make/install again, the memory usage looks like this: VSZ RSS 8764 5424 /usr/local/apache/bin/httpd ...which is quite normal looking and similar to our current 4.3.1 build memory sizes. I found a bug report, 5571 for an old version of PHP that is very similar. However, the proposed fix is no longer applicable due to changes to the file/directory structure in "main". Other than the above problem, there is no difference between my version 4.3.1 build which has normal VSZ memory usage and the new 4.3.2 build which has the crazy VSZ. -- Edit bug report at http://bugs.php.net/?id=23905&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23905&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23905&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23905&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23905&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23905&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23905&r=support Expected behavior: http://bugs.php.net/fix.php?id=23905&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23905&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23905&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23905&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23905&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23905&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23905&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23905&r=gnused