PHP 4.0 Bug #9128 Updated: Memory Leak or Memory Problem.
| From: | kaiser at 3points dot de | Date: | Sun, 29 Apr 2001 17:49:31 +0000 |
| Subject: | PHP 4.0 Bug #9128 Updated: Memory Leak or Memory Problem. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52967@lists.php.net to get a copy of this message | ||
ID: 9128
User Update by: kaiser@3points.de
Status: Open
Bug Type: Filesystem function related
Description: Memory Leak or Memory Problem.
Ok,
to code my shit i used
$fp = fopen("http://weburl");
but i forgotten to close the handler with fclose($fp).
SO i tested and tested my script and now...
pl0nk my apache crached and i found in error log
Zend Stack crashed at xxx.c line 42.
I tested it again and i found ~20 httpd proccesses with ~ 15mb per proccess.
Maybe i can post some code.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-28 09:35:07] elixer@php.net
ok. really reclassify.
---------------------------------------------------------------------------
[2001-04-28 09:34:07] elixer@php.net
reclassify
---------------------------------------------------------------------------
[2001-02-06 08:30:18] kaiser@3points.de
i coding a skin engine @ pixelcore.com and use template to parse it. I open this file with
$fp = fopen("http://....",'r');
while....
but if i forget to close this like and more that 20 users pars this skin i got some error messeages
on screen.
Zend Stack crashed at xxx.c line 42 or so.
Regards Kaiser
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9128