I e-mailed this problem to the mailing list some days ago but it passed
unoticed. Can anyone help me with this one please?
I am running a source-built version of apache 2.0.55 with modperl 2 and
php 5.0.5.
When one of my scripts uses a lot of memory then I can see the httpd
processes get quite large, which is quite normal.
But when my script finishes then this memory is not released from the
httpd process (if it was being cached by Linux I would understand it).
Is this a normal behavior? And if it is, will it not lead me to a
fat-process-slow-response behaviour if I don't restart the service manually?
I've tried it using perl and php scripts. Especially the perl script was
very simple. I just created an array filling it with garbage. Then at
the end of the script I unset the array variable. Still the process that
handled my request didn't free any memory after the end of the script.
The same thing happens with php.
Shouldn't apache have a mechanism to free the memory it uses after a
script execution.
A workaround that is working at the time (but I am not considering it as a solution)
is setting only a few clients to start upon startup and allow each-one of them to execute
only 8 times before another new process takes their place.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]