Ask a Question related to PHP Bugs, Design and Development.
-
acv dot number dot one at gmail dot com #1
#40680 [NEW]: process hangs after reaching set_time_limit() value
From: acv dot number dot one at gmail dot com
Operating system: Linux FC 5
PHP version: 5.2.1
PHP Bug Type: Scripting Engine problem
Bug description: process hangs after reaching set_time_limit() value
Description:
------------
NOTE: I use php version
PHP 5.1.4 (cli) (built: May 8 2006 08:41:41)
but it is not listed there. should I update it? I think it is for all 5.*
versions.
Process hangs after reaching set_time_limit() value.
After the script executes, the php process which processed it hangs and
the CPU% used remains the same (no resources freeing).
Reproduce code:
---------------
<?php
set_time_limit(30);
while(1)
{
a_function();
} //Call to a function which doesn't affect the "time run" value for the
script.
?>
Expected result:
----------------
I expect the script to finish executing after 30 seconds + time needed for
the called (e.g. system call) function.
Actual result:
--------------
The script runs for 30 seconds, but if at the moment the 30 seconds
interval passes the called funciton is executed (e.g. system call) - the
process hangs (the interpreter hangs in that funciton)
--
Edit bug report at [url]http://bugs.php.net/?id=40680&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40680&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40680&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40680&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40680&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40680&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40680&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40680&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40680&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40680&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40680&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40680&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40680&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40680&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40680&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40680&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40680&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40680&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40680&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40680&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40680&r=mysqlcfg[/url]
acv dot number dot one at gmail dot com Guest
-
Started Process Hangs
Whenever I start an application from ASP.NET, the exe hangs, with Task manager showing no cpu time. Every exe I've tried hangs in the same way... -
#21926 [NoF->WFx]: Apache process hangs
ID: 21926 Updated by: sniper@php.net Reported By: arinto at almedina dot net -Status: No Feedback +Status: ... -
#21926 [Com]: Apache process hangs
ID: 21926 Comment by: huberfelix at web dot de Reported By: arinto at almedina dot net Status: No Feedback Bug... -
#21926 [Opn->Fbk]: Apache process hangs
ID: 21926 Updated by: iliaa@php.net Reported By: arinto at almedina dot net -Status: Open +Status: ... -
Can't reinstall Photoshop - process hangs
I've been trying to reinstall photoshop 5.5 . It has been working until now, then just got hung when I tried to launch it. It refused to launch (just... -
tony2001@php.net #2
#40680 [Opn->Bgs]: process hangs after reaching set_time_limit() value
ID: 40680
Updated by: [email]tony2001@php.net[/email]
Reported By: acv dot number dot one at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux FC 5
PHP Version: 5.2.1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from [url]http://www.php.net/downloads.php[/url]
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-03-01 10:14:02] acv dot number dot one at gmail dot com
Description:
------------
NOTE: I use php version
PHP 5.1.4 (cli) (built: May 8 2006 08:41:41)
but it is not listed there. should I update it? I think it is for all
5.* versions.
Process hangs after reaching set_time_limit() value.
After the script executes, the php process which processed it hangs and
the CPU% used remains the same (no resources freeing).
Reproduce code:
---------------
<?php
set_time_limit(30);
while(1)
{
a_function();
} //Call to a function which doesn't affect the "time run" value for
the script.
?>
Expected result:
----------------
I expect the script to finish executing after 30 seconds + time needed
for the called (e.g. system call) function.
Actual result:
--------------
The script runs for 30 seconds, but if at the moment the 30 seconds
interval passes the called funciton is executed (e.g. system call) -
the process hangs (the interpreter hangs in that funciton)
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40680&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

