Sniper Zone Posted December 5, 2014 Share Posted December 5, 2014 (edited) Hi, I run Prestashop 1.6.0.9 on a Debian Wheezy dedicated server with Apache2 and PHP 5.4 with APC. The shop perfectly run without using APC, but when I enable this little guy, after 2-3 hours, I have this problem: FastCGI: server "/var/www/xxxxx/cgi-bin/php5-fcgi-*-80-xxxxx.eu" stderr: PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/xxxxx/classes/cache/CacheApc.php on line 50 and after an hour, this cause a code 500: FastCGI: comm with server "/var/www/xxxxx/cgi-bin/php5-fcgi-*-80-xxxxx.eu" aborted: idle timeout (3000 sec) On line 50 of this file: protected function _set($key, $value, $ttl = 0) { return apc_store($key, $value, $ttl); } PHP APC configuration is based on this guide: http://gregrickaby.com/the-perfect-apc-configuration/ I just changed some things to to fit with my system and allow 2Gb to shm_size (32Gb available on the server). I don't understand what's the problem with APC. It run perfectly for a couple of hours, then he cause this major problem every time! Someone have an answer and a solution to this? Thank you in advance! Edited December 5, 2014 by Sniper Zone (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now