Magento “Can’t get filling percentage” memcached issue

Some Magento store admins report that Magento is returning this exception when using memcached as a backend for either the Magento cache or the Magento Full Page Cache. This issue has its roots in the Zend Framework which returns this exception if memcache fails to return its extended stats.

To resolve this is fairly simple. All you need to do is edit the file [Magento root]/lib/Zend/Cache/Backend/Memcached.php and replace the getFillingPercentage() method with the below:

What exactly does this do?

It will make an additional attempt to get the filling percentage and if it cannot determine the filling percentage then 100 is returned which indicates it is full. In this way there will not be an exception thrown during the temporary periods when filling percentage cannot be determined.

Quick Extension Overview

Full-Page-CacheFull Page Cache reduces your Magento store’s First Byte Time, Increases your web server request rate, reduces database load, and makes your store much more responsive. Extendware’s Caching solution is the best Magento Caching Performance Extension you can buy to speed up your store and easily pays for itself by saving you money rather than buying expensive hardware solutions to increase your Magento store optimization rates.