Re: Memory persistence with apache question
| From: | (Marcus Börger) | Date: | Tue, 19 Nov 2002 03:52:54 +0000 |
| Subject: | Re: Memory persistence with apache question | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91305@lists.php.net to get a copy of this message | ||
Problems that could arise:
The sytem tries to open images and does not unset the variables...and such.
I guess when everything is working you cannot do anything against. If you want
to investigate more you would need a debug version from php to verify if all
memory is freed.
But this is the post from the developer who is assigned to the bug on Sourceforge:
Date: 2002-10-23 17:59 Sender: bharat Logged In: YES user_id=42211 This is fixed in v1.3.2marcus At 04:33 19.11.2002, Mike Leddy wrote:
Hello, I administer a linux 2.4.19/apache 1.3.26/php 4.1.2 server in an ISP. Recently some clients started using a gallery php script: http://gallery.sf.net that causes excessive memory utilization on the server: http://sourceforge.net/tracker/index.php?func=detail&aid=498028&group_id=7130&atid=107130 So here goes the question: In what situations will memory allocated to a script remain with the apache process after the script has terminated ? I always thought that memory allocated would be released on script termination - Am I wrong in this assumption ? Could it be that the heap in the apache process stays at the maximally used level ? Thanks for any pointers or how I should approach resolving this problem. (I am already using 'MaxRequestsPerChild 5' in apache as a stopgap measure) Mike -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php