#50531 [NEW]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
From: net_php at mojocafe dot jp
Operating system: OS 10.6.2
PHP version: 5.3.1
PHP Bug Type: Reproducible crash
Bug description: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
Description:
------------
I have a long running script that crashes with the following message:
PHP Fatal error: Maximum execution time of 200 seconds exceeded in
xxx on line xxx
Whichever I used I get the above timeout of 200 seconds after maybe
10-20 minutes of the script running. I can't find 200 seconds anywhere
in any of the settings.
Strangely too it seems always to give the same line unless I change
the script in which case it gives another line with a different
function. i.e. an unchanged script gives the error in the same place
but a change script gives it at a different place.
(Note: a previous bug report was erroneously marked at bogus because I
reported that the crash for two different machines).
Reproduce code:
---------------
20:04:59 $ php --version
PHP 5.3.1 (cli) (built: Dec 19 2009 16:49:18)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
# grep max_execution_time /usr/local/etc/php.ini
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
Expected result:
----------------
Expect the script to run till completion.
--
Edit bug report at http://bugs.php.net/?id=50531&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50531&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50531&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50531&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50531&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50531&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50531&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50531&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50531&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50531&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50531&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50531&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50531&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50531&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50531&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50531&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50531&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50531&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50531&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50531&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50531&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50531&r=mysqlcfg
Thread (12 messages)
- net_php at mojocafe dot jp
- jani@php.net#50531 [Opn->Fbk]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- net_php at mojocafe dot jp#50531 [Fbk->Opn]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- aharvey@php.net#50531 [Opn->Fbk]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- net_php at mojocafe dot jp#50531 [Fbk->Opn]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- jani@php.net#50531 [Opn->Fbk]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- net_php at mojocafe dot jp#50531 [Fbk->Opn]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- net_php at mojocafe dot jp#50531 [Opn]: CLI script crashes with PHP Fatal error: Maximum execution time of 200 seconds
- jani@php.net#50531 [Opn->Fbk]: CLI script stops at fatal error: Maximum execution time of 200 seconds exceeded
- jani@php.net#50531 [Fbk]: CLI script stops at fatal error: Maximum execution time of 200 seconds exceeded
- net_php at mojocafe dot jp#50531 [Fbk->Opn]: CLI script stops at fatal error: Maximum execution time of 200 seconds exceeded
- jani@php.net#50531 [Opn->Fbk]: CLI script stops at fatal error: Maximum execution time of 200 seconds exceeded