Need Help

Permalink
Hello , I run a small website for a local music venue , latest updates all done etc , running the Natural Leather theme , pro events and mailing list apps , Ive had the site for about a year and for the first 7 or 8 months everything was fine , all of a sudden we keep finding the whole site down , when I log onto my host , I have to restart the site , then all is fine for awhile ... this happens at no noticeable intervals but it still happens

This is my server error report for the site from today , it went down this afternoon and I restarted it about 2:15 or so

Mon Dec 17 04:43:05 2012] [error] [client 150.241.234.14] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/showroom/duncangarageshowroom.ca/html/updates/concrete5.6.0.2/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 964
[Mon Dec 17 09:46:24 2012] [error] [client 202.46.55.196] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/showroom/duncangarageshowroom.ca/html/updates/concrete5.6.0.2/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 653
[Mon Dec 17 12:25:11 2012] [error] [client 96.54.14.190] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/showroom/duncangarageshowroom.ca/html/updates/concrete5.6.0.2/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 722, referer:http://www.duncangarageshowroom.ca/about/search/...
[Mon Dec 17 13:01:56 2012] [error] [client 220.181.108.91] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/showroom/duncangarageshowroom.ca/html/updates/concrete5.6.0.2/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 722





Please Respond if you can help

Seanigan
 
jshannon replied on at Permalink Reply
jshannon
There's probably a deeper problem, but unless there's a recently reported bug that someone can comment on, these things can be incredibly difficult to track down. I spent a few hours yesterday on something similar.

However, I notice that all the errors refer to the cache. You should try disabling this outright (from your dashboard). c5 cache has never really worked perfectly for me.

James
mhawke replied on at Permalink Reply
mhawke
This might help with cache issues:

http://andrewembler.com/posts/improving-the-performance-of-zend-cac...

Basically, add this line to your [root]/config/site.php

define('CACHE_FRONTEND_OPTIONS', serialize(array('automatic_cleaning_factor' => 0)));


And jordenlev has created a job that delete all cache files that are older than a week. This helps keep the cache size in check while keeping your cache 'primed':

http://pastie.org/5476483

I just put his code in a file and name it "zend_cache_clean.php" and upload it to [root]/jobs. I then added it to the jobs table in the database by duplicating one of the existing records and changing the fields to match the new job. Apparently johnthefish has a free add-on in the PRB pipeline right now that incorporates this code by jordanlev.

http://www.concrete5.org/community/forums/usage/clear-cache-as-an-a...