#23905 [Opn->Fbk]: Excessive VSZ --with-mm
| From: | sniper@php.net | Date: | Fri, 06 Jun 2003 07:43:38 +0000 |
| Subject: | #23905 [Opn->Fbk]: Excessive VSZ --with-mm | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41320@lists.php.net to get a copy of this message | ||
ID: 23905
Updated by: sniper@php.net
Reported By: dsorrells at rhyton dot com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: FreeBSD 4.7
PHP Version: 4.3.2
New Comment:
Compile PHP with --enable-debug to see if there are some leaks
related.
Previous Comments:
------------------------------------------------------------------------
[2003-05-30 13:38:18] dsorrells at rhyton dot com
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 this bug report at http://bugs.php.net/?id=23905&edit=1