swapiness value to be set for high load nginx server

omkar_jadhav_20 nginx-forum at forum.nginx.org
Thu Feb 16 05:40:49 UTC 2017


Hi,

We are using nginx/1.10.2 as web server on centos and redhat Linux 7.2 OS.
We are getting issues of getting our SWAP fully utilized even though we have
free memory , vm.swapiness is kept as default i.e. 60.
below are memory details for your reference :

# free -g
              total        used        free      shared  buff/cache  
available
Mem:           1511          32           3         361        1475       
1091
Swap:           199         199          0

Please suggest method by which we can avoid swap full scenario. also let us
know what should be vm.swapiness value for high load nginx web server. Also
let us know any other sysctl parameters to improve nginx performance.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272446,272446#msg-272446



More information about the nginx mailing list