Answer the question
In order to leave comments, you need to log in
How to calculate the amount of RAM for memcached?
Hello connoisseurs! There is such a modest question: How to calculate the amount of RAM for memcached? There is a server on Debian 8.8 which has 64 GB of RAM. There are 10 sites on the server, running WordPress, with a total attendance of 50k traffic per day. Now memcached.conf is 128MB. all sites have a plug-in for working with memcached. everything seems to be working well. but free -m shows that RAM is 98% busy. This is fine? How to calculate how much RAM can be allocated for memcached? and is it worth switching to a socket or is it better to leave TCP?
Thanks a lot!
Answer the question
In order to leave comments, you need to log in
Well, for starters: www.linuxatemyram.com
Then set up monitoring and look at the memory and memcache monitoring graphs. How much memory is used by applications, how much of the allocated memory it uses, how many hits and misses, how many keys are forced out.
Then edit the configs so that there are more cache hits.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question