#23274 [NEW]: php starts using 99% of CPU when script is aborted
| From: | spagmoid at yahoo dot com | Date: | Fri, 18 Apr 2003 20:01:40 +0000 |
| Subject: | #23274 [NEW]: php starts using 99% of CPU when script is aborted | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37865@lists.php.net to get a copy of this message | ||
From: spagmoid at yahoo dot com
Operating system: WinXP
PHP version: 4.3.1
PHP Bug Type: *General Issues
Bug description: php starts using 99% of CPU when script is aborted
Using ignore_user_abort(true) and set_time_limit(0)
So the only way to abort the script is:
if(connection_status()!=0) die();
Well the script is using 1% of the CPU until I hit abort, then it jumps up
to 99% and WILL NOT DIE. Effectively killing the server. I don't know if
connection_status() is working or not, but if its not the script should
just continue using 1% of the CPU. So what's the problem?
--
Edit bug report at http://bugs.php.net/?id=23274&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23274&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23274&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23274&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23274&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23274&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23274&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23274&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23274&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23274&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23274&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23274&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23274&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23274&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23274&r=gnused