memory allocation for LEMP wordpress 1GB linode
here is the current state-
free 18
used 440
cached 493
buffers 39
i also have 256mb swap of which 30% is being used.
from what ive read that is not good. any insight is appreciated. thank you!
2 Replies
As for swap, you can to some extent adjust how willing the operating system is to push non-accessed memory pages to swap, by changing /proc/sys/vm/swappiness from the default '60' to e.g. '10' (less eager to write to swap). Permanently (that is, survives boot) set in /etc/sysctl.conf or (depending on distro) /etc/sysctl.d/your-config (whatever). Add a line
vm.swappiness=10
and you're set. Increase the value to increase swappiness instead of reducing it.