Open stoopman opened 8 years ago
Hello @rickstoopman
I made a small research and maybe that would be possible, I guess the function Zend_Cache_Backend_ExtendedInterface::getFillingPercentage
can be helpful. Luckily Cm_Cache_Backend_Redis
is implementing this function. Maybe I can include that in the next version.
Hi Gordon,
If you could build that in the next version is would be really great! Now I have to disable the fpc or increase the object rocket size.
When do you expect to release the next version?
You could also define a memory limit in your Redis service config
Hi Gordon,
I am using Rackspace Object Rocket (Redis) in combination with Lesti FPC. The redis storage Rackspace provides has a limit (mine has 2.5GB). The magento store on which this is running has alot of products and store views which fills the redis up to 2.44GB. This causes the magento cron to throw the following exception:
exception 'CredisException' with message 'OOM command not allowed when used memory > 'maxmemory'.' in /var/www/vhosts/apotheeken/webroot/lib/Credis/Client.php:1100
Is there any way to configure the plugin to check the used up memory and not try to cache anything further? When the memory limit is reached almost all product pages show the Maintenance page. When redis cache is flushed everything works fine again.
Rick