Answer the question
In order to leave comments, you need to log in
Why doesn't memcached memory size increase?
/etc/memcached.conf
write
-m 128
save,
then
/etc/init.d/memcached restart
ps -aux | grep memcached
memcache 1266 0.0 0.0 327444 2660 ? Ssl 03:59 0:00 /usr/bin/memcached -p 11211 -u memcache -m 64 -c 1024 -l 127.0.0.1 I
see 64
UPD
I found these files, changing them changes memcached settings.
/lib/systemd/system/memcached.service
/etc/systemd/system/multi-user.target.wants/memcached.service
returned everything as it was, I don’t know how to do it right.
Answer the question
In order to leave comments, you need to log in
Go to the init script and see where the parameters come from, obviously not from the config
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question