Is there a best practice or general rule of thumb when setting the memory limit for memcached?

I'm currently running memcached with the default memory limit of 64 megabytes. The server has 8 gigabytes of memory installed out of which only around 512 megabytes of memory are available.

Thank you.


8g and .5 available sounds fishy. If nothing else significant is running then you should be able to run at 6-7G pretty easily. I suspect you are looking at 'free' memory which doesn't account for linux disk caching and such.

  • Thanks. I found that MySQL was using 7GB unnecessarily. I reduced memory used by MySQL to 3GB, and I doubled memcache memory usage from 64MB to 128MB. – Leo Galleguillos Mar 24 '16 at 16:43

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.