New answers tagged php-apc
Another way to do this is to use the yum plugin yum-plugin-replace (as described at http://iuscommunity.org/pages/IUSClientUsageGuide.html). yum install yum-plugin-replace After that you can replace it via: yum replace php53u --replace-with php54 This is the recommended way by ius as it will also try to find replacements for all installed dependencies ...
Try lowering the max requests to something like pm.max_requests = 100. This will restart the process after 100 requests, freeing memory that might have been lost due to memory leaks in your scripts.
We've got this sorted and stable now, with ~95% cache hit percentage. We were seeing "Unable to allocate memory to pool" errors because the cache was filling up and not emptying itself. We've set the cache size to 1GB and the ttl to 120 (2 minutes) - this means that our cache never really exceeds around 30-40% of its capacity.
Top 50 recent answers are included