Page 1 of 1

Fatal error: Maximum execution time of n seconds exceeded

Posted: Wed Dec 03, 2008 1:15 am
by s4lin
Dear,
I could appreciate if anybody could be shorted out my problem.

I'm facing execution time out issue,
Fatal error: Maximum execution time of n seconds exceeded. we have not changed time limit so far.
1. We could able to execute the same code before someday (earlier)
2. This is issue happening after reset time_out and later we have reverted.
3. We have reverted code for resetting time_out but still we are getting the error.
4. We are able to proceed in different machine.

Please let me know, why its happening in particular machine.

Is there anything to be done to fix this?

Thanks in Advanced.
stalin
s4lin4u@yahoo.com

Re: Fatal error: Maximum execution time of n seconds exceeded

Posted: Wed Dec 03, 2008 3:47 am
by novice4eva
try increasing the max_execution_time to some greater value in php.ini

Re: Fatal error: Maximum execution time of n seconds exceeded

Posted: Wed Dec 03, 2008 6:12 pm
by josh
What is making it take so long to run? If its a batch script run it on the CLI as a forked background process, if its a web script fix what's making it take so long, no user wants to wait 30 seconds to see that the system has registered his request.

Re: Fatal error: Maximum execution time of n seconds exceeded

Posted: Thu Dec 04, 2008 2:50 pm
by SteveC
Are you using session_start anywhere?

Re: Fatal error: Maximum execution time of n seconds exceeded

Posted: Thu Dec 04, 2008 10:05 pm
by novice4eva
SteveC wrote:Are you using session_start anywhere?
:?: :?:

Re: Fatal error: Maximum execution time of n seconds exceeded

Posted: Sat Dec 06, 2008 9:40 pm
by SteveC
novice4eva wrote:
SteveC wrote:Are you using session_start anywhere?
:?: :?:
Sessions in UNIX can sometimes have problems, so I was just wondering if he was using them.