Re: [PHP-DEV] Memory persistence with apache question

2002-11-19 Thread Mike Leddy
Unfortunately I can't ask my clients to upgrade to a CVS version - v1.3.2 isn't available yet :-( But more generally wouldn't it be nice if PHP could GUARANTEE that memory resources are recovered on script termination ? Lot's of scripts are written without proper consideration for memory - an

Re: [PHP-DEV] Memory persistence with apache question

2002-11-18 Thread Rick Widmer
At 10:33 PM 11/18/02 -0500, Mike Leddy wrote: Hello, 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

Re: [PHP-DEV] Memory persistence with apache question

2002-11-18 Thread Marcus Börger
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 f

[PHP-DEV] Memory persistence with apache question

2002-11-18 Thread Mike Leddy
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&ati