ID:               50531
 User updated by:  net_php at mojocafe dot jp
 Reported By:      net_php at mojocafe dot jp
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: OS 10.6.2
 PHP Version:      5.3.1
 New Comment:

Thanks for the response. As noted this happens on a number of different

installs with exactly the same result. One weird thing is that the loop

always crashes at between the 566 and 569th iteration. Always close but

not the same. I even tried removing the .ini file with the same
result.

There is a shell_exec in the loop, but watching the last time exactly
as 
it stopped with a fatal error there was no load issue on the server,
but 
where the line number indicated a different place (there seems to be no

pattern here).

Since PHP itself doesn't seem to be crashing but the script is giving a

fatal error, I'm not quite sure what the best approach for giving you
more 
information is.


Previous Comments:
------------------------------------------------------------------------

[2009-12-21 10:21:33] j...@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2009-12-19 11:20:20] net_php at mojocafe dot jp

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 this bug report at http://bugs.php.net/?id=50531&edit=1

Reply via email to