Hi I have a website running on Drupal and aws ec2 and rds.

So I installed memcached on this server and it's working. However I checked the statistics and found the cache is almost full and about 180mb is available.

Firstly I want to know what happens with memcached after memory allocated gets full?


After the memory for a memcached instance gets filled it starts to remove data from the cache based on what has been least recently used. In other words it starts removing data from the cache, least recently used first and moving forward with more recent data until it clears enough space for newer data to be cached.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.