ID:               42379
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mika at netstock dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Output Control
 Operating System: freebsd-6.2
 PHP Version:      5.2.3
 New Comment:

How about you first upgrade your apache to something more recent. 
And then you really need to provide the configure line you used to
configure PHP. Also: using "register_globals = On" is something you
really shouldn't be doing..


Previous Comments:
------------------------------------------------------------------------

[2007-08-23 23:32:08] mika at netstock dot net

you probably need excute it for a while (5 min maybe!!)
and  $var maybe need to put some data inside
at client browser, every things looks fine
i didn't get any error but memory leak
it seem call sapi or something .....

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

[2007-08-23 10:51:23] [EMAIL PROTECTED]

Only thing I get is this output:
Notice: Undefined variable: var in /opt/www/t.php on line 4

And no leak. How about providing us a bit more information and a script
that does not have any errors/notices in it? Your configure line would
be nice to know. And what extensions (if any) you load in php.ini..

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

[2007-08-22 13:21:04] mika at netstock dot net

Description:
------------
when i use flush() or ob_implicit_flush() to push data to browser it
will keep eating my server's memory like  4k 4k 4k......and another 4k
..
and my apache is  2.0.59 
Do anyone can help me!!!!

Reproduce code:
---------------
<?
while{1){
echo "$var";
flush();
sleep(1);
}
?>

or

<?
ob_implicit_flush(1);

while{1){
echo "$var";
sleep(1);
}
?>



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


-- 
Edit this bug report at http://bugs.php.net/?id=42379&edit=1

Reply via email to