Alright, I have downloaded /etc/sysconfig/memcache
And edited the file that contained "PORT="11211"
to 1000 cachesize. I uploaded the file back to the server. Now I know there is a way to check if the changes took effect, but I cant remember how. I tried "memcached-tool 127.0.0.1:11211 stats" but it didnt show me the RAM size.
USER="memcached"
MAXCONN="1024"
CACHESIZE="64"
OPTIONS=""
Any help would be appreciated.
Best Answer
The "stats" command should display the cache size as "limit_maxbytes". For example, the following command:
In my case, I'm using the default of 64MB, but if I up it to 128 and restart, the value goes up accordingly. Are you SURE that your "memcached-tool" output isn't showing the limit_maxbytes value?