apache httpd not releasing memory after keepalive timeout

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I was getting Out of Memory PHP fatal errors on my Apache 2.2.4 server
on WinXP and narrowed things down to discover that httpd process
memory is not released after a PHP script is requested (even the very
most basic script: <?php ?> ). The httpd memory usage increases
approximately 520k after every request (if the request occurs after
the KeepAliveTimeout period.

I imagine that there must be a straightforward reason for this, but I
can't figure it out. I've looked through my php.ini and httpd.conf
settings and nothing is obvious. The behaviour occurs with PHP 5.2.2
and 5.2.4.

Any suggestions?

Re: apache httpd not releasing memory after keepalive timeout

I've narrowed the issue down further but I'm still stuck. Even with
the php5_module not loaded in apache, memory is not released from the
httpd process after a simple html page request (about 110M retained)
each time. I'm using taskmgr to monitor this.

The problem seems to be related to a specific machine (a different
machine with a similar configuration (Apache 2.2.4, PHP 5.2.4, WinXP)
does not exhibit this behaviour. Since this seems to be an OS problem,
what techniques could be used to troubleshoot?


Site Timeline