From:             marquinhocb at hotmail dot com
Operating system: Windows Server 2003 R2 x64
PHP version:      5.2.4
PHP Bug Type:     Performance problem
Bug description:  Random "PHP Fatal error:  Maximum execution time of 60 
seconds exceeded"

Description:
------------
I can only get this to happen on a production server.  It may have to do
with the server load.  I have the exact same setup on my local machine,
never experienced this problem.

Server is a Dual-Processor Xeon Dual Core (4 cores in total).

I am willing to debug and help in any way necessary, I am a professional
software engineer.

After getting these errors, I made my own extension with extended
debugging information to help trace the problem.

Reproduce code:
---------------
Nothing special about the code causing the stall, as you can see:

windowmanager.class.php:
304: if (! $this->hasFooter)
305:    print("</div>"); //content

menumanager.class.php:

81: else if ((count ($j->subItems) > 0) || ($j->forceSub))
82:     {
83:             print("<a class=\"menuItem\" href=\"\" onclick=\"return false;\"
onmouseover=\"{$this->menuBarVar}.MenuItemMouseover(event,
'{$j->id}');\">");
                                

Expected result:
----------------
The stall always seems to be on a print(), and obviously this should not
be a stalling or very intensive function.

Actual result:
--------------
[30-Oct-2007 09:22:48] PHP Fatal error:  Maximum execution time of 60
seconds exceeded
End() 
End() 
End() 
 in D:\yuniti\includes\windowmanager.class.php [/index.php] on line 305

[30-Oct-2007 09:39:24] PHP Fatal error:  Maximum execution time of 60
seconds exceeded
InternalOutputItem() 
InternalOutputItem() 
InternalOutputSubItems() 
Output() 
Output() 
Output() 
 in D:\yuniti\includes\menumanager.class.php [/user.php] on line 83

[30-Oct-2007 09:42:02] PHP Fatal error:  Maximum execution time of 60
seconds exceeded
InternalOutputItem() 
InternalOutputItem() 
InternalOutputSubItems() 
Output() 
Output() 
Output() 
 in D:\yuniti\includes\menumanager.class.php [/user.php] on line 83

[30-Oct-2007 09:47:08] PHP Fatal error:  Maximum execution time of 60
seconds exceeded
End() 
End() 
End() 
 in D:\yuniti\includes\windowmanager.class.php [/index.php] on line 305

-- 
Edit bug report at http://bugs.php.net/?id=43147&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43147&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43147&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43147&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43147&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43147&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43147&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43147&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43147&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43147&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43147&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43147&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43147&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43147&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43147&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43147&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43147&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43147&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43147&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43147&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43147&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43147&r=mysqlcfg

Reply via email to