#48813 [Com]: used ob_start() and CPU usage become 100%
| From: | karamveer dot singh at smartbuzz dot net | Date: | Thu, 29 Oct 2009 08:06:33 +0000 |
| Subject: | #48813 [Com]: used ob_start() and CPU usage become 100% | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144065@lists.php.net to get a copy of this message | ||
ID: 48813
Comment by: karamveer dot singh at smartbuzz dot net
Reported By: manju_kalita at infosys dot com
Status: No Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 5.3.0
Assigned To: fb-req-jani
New Comment:
hi all ,
i am also facing this problem. I am using 4.4.7 version of php at linux
server .Our server admn reply me that sometime your some pages reached
100% CPU utilization due to some script running on site.So please help
me.sorry for bad english.
Previous Comments:
------------------------------------------------------------------------
[2009-07-15 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-07-07 17:24:06] jani@php.net
Exactly WHAT PHP version are you having this problem with?
------------------------------------------------------------------------
[2009-07-06 13:11:43] manju_kalita at infosys dot com
Its PHP5.0 version
------------------------------------------------------------------------
[2009-07-06 12:41:49] jani@php.net
Does this happen with PHP 5.2.10 ?
------------------------------------------------------------------------
[2009-07-06 10:46:46] manju_kalita at infosys dot com
Description:
------------
I have used:
ob_start(); #at the starting of the scipt
ob_flush();
ob_end_clean(); # at the end of the script
everything working fine. But when I go to next page and do a IE back,
sometime the CPU utilization reached 100% in client system and the IE
got crashed.sometime its work perfectly.
In any other script, we are not using ob_start() or ob_flush().
Please let me know how can we manage the memory utilization to prevent
this issue.
Expected result:
----------------
IE back sud work and CPU utilization should not reach so high.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48813&edit=1