Fatal error: Maximum execution time of 10 seconds

Permalink
Hi there,

Could please anybody give me a hand with this issue? I don't really know why it is happening...
I get the following error when saving changes or any action that involves the system to load (creating content, creating pages, going to dashboard, navigating through my web, etc.) It is becoming really annoying, since I would have to refresh several times until it loads again the website with C5.

Fatal error: Maximum execution time of 10 seconds exceeded in /usr/home/.../web/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 654

Fatal error: Maximum execution time of 10 seconds exceeded in /usr/home/jobs4librarians.com/web/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 956

I have already checked a few times the line 654 and 956 in File.php and I didn't see anything weird...

Please help!

ggutierrez79
 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
I think this maybe a server issue,
Try disabling the site cache and see if it helps
ggutierrez79 replied on at Permalink Reply
ggutierrez79
I can't try that anymore... Things have become worse. See this:
http://www.concrete5.org/index.php?cID=324904...
Mainio replied on at Permalink Reply
Mainio
Actually that's also good point because especially if you've been running the site for a long time under Zend's cache, it gets really slow.

Clearing up this folder might also help:
/files/cache/
Mainio replied on at Permalink Best Answer Reply
Mainio
This sounds like you're running on some kinds of budget hosting, it means that your request is timing up because the PHP processing takes too long.

You can control the maximum execution time from your php.ini:
http://www.php.net/manual/en/info.configuration.php#ini.max-executi...

You could also try this function but most budget hosting providers that strictly limit the execution time have usually blocked this function as well:
http://php.net/manual/en/function.set-time-limit.php...

You COULD raise that configuration but really, if you're waiting 10s or more for each action, I think that affects the overall usability. I'd suggest switching to concrete5 optimized service provider in the first hand.

Best,
Antti
ggutierrez79 replied on at Permalink Reply
ggutierrez79
What values would you suggest me to set for 'maximum execution time' and function.set-time-limit?

Thanks for that!
mkly replied on at Permalink Reply
mkly
Check with your host and see if that's the max execution time they allow. Unfortunately concrete5 is on the heavier side of things so you may not be able to use that host with concrete5 very successfully.
ggutierrez79 replied on at Permalink Reply
ggutierrez79
Thanks I will tell you whether it is working better that way as soon as I am done with the upgrading issues.