ID: 40282 Updated by: [EMAIL PROTECTED] Reported By: roberto at spadim dot com dot br -Status: Open +Status: Bogus Bug Type: Output Control Operating System: linux PHP Version: 5.2.0 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-01-30 05:29:36] roberto at spadim dot com dot br Description: ------------ hello i'm writing an script to draw a graph an explanation about script: my graph is 1024x800 pixels and about 50000 points i'm using spline to get 1024 points (to draw less points and use less GD library, but using more cpu to run spline function) the main problem is when my client (browser) stop work since i'm running with set_time_limit(0) and ignore_user_abort(1) (i'm using temporary files to read points) i can't get right value from connection_aborted i was reading manual and some users tell that connection_aborted only works when i "echo" some caracters, since i'm drawing images i can't change document content, if i change my image will be damaged and won't display on browser can i get right connection_aborted status?! thankx Reproduce code: --------------- <?php set_time_limit(0); ignore_user_abort(1); while(1){ if (connection_aborted()) break; // i put connection aborted in many parts of my script, but this example could be something like i do } ?> Expected result: ---------------- using htop i see that apache process cpu usage still high after stop from my firefox browser apache should know that i stoped, maybe browser didn't send connection stop? or maybe apache didn't send connection stop to php? i'm using php as module an not as cgi! expected result should be an process cpu usage with low values after stop from firefox Actual result: -------------- high cpu values (98%) on apache process after stop (another process) run at (0.2% or less) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40282&edit=1