memory allocation for LEMP wordpress 1GB linode
here is the current state-
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!
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
and you're set. Increase the value to increase swappiness instead of reducing it.