ID: 9128
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
ok.  really reclassify.

---------------------------------------------------------------------------

[2001-04-28 09:34:07] [EMAIL PROTECTED]
reclassify

---------------------------------------------------------------------------

[2001-02-06 08:30:18] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to