ID:               43147
 User updated by:  marquinhocb at hotmail dot com
 Reported By:      marquinhocb at hotmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Performance problem
 Operating System: Windows Server 2003 R2 x64
 PHP Version:      5.2.4
 New Comment:

That's the weird thing - it's almost like an infinite loop.  If I
increase the timeout to 120 seconds, or 240, or decrease it to 30
seconds, it continues to stall in similar lines: always on a call to
print()

Terribly sorry, here's the info:
Apache 2.2.4
PHP Apache Module


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

[2007-10-30 22:08:29] [EMAIL PROTECTED]

It's pretty normal that sometimes things take time, especially with
high load if the scripts are "heavy". Have you tried increasing the
max_execution time in your php.ini? Also, you didn't give any
information about your setup, like what webserver you're using, whether
you use FastCGI/CGI or some module?

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

[2007-10-30 17:52:15] marquinhocb at hotmail dot com

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

Reply via email to