PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="1024"
OPTIONS="-l 127.0.0.1"
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 "" $3}END{ print ""}' $file; done | sort -k 2 -n-r | less
memcached 99000 kB
mysqld 17052 kB
swapoff -a && swapon -a
total used free shared buff/cache available
Mem: 12G 5.8 G 631M 540M of 6.1 G 5.9 G
Swap: 1.0 G 163M 860M
What should I do if Memcached goes into the swap?
Find more questions by tags 1C-BitrixLinuxMemcachedSystem administration
on the car формулы1 definitely not.
in a rally car for Paris-Dakar definitely Yes.
Small business server kotoromi website and mail and dB with the books then do not worry that something will go underutilized in the swap but for other programs and commonly used files and memory.
The big server in the cluster with High Load - getting hot data in swap is equivalent to a drop server the arrival of oom-killera is neizbezhen, there Yes - swap is unnecessary. - dominique commented on July 9th 19 at 13:43