rhtyd commented on a change in pull request #2892: sysctl: don't use swap until ram reaches 95% usage URL: https://github.com/apache/cloudstack/pull/2892#discussion_r224016062
########## File path: systemvm/debian/etc/sysctl.conf ########## @@ -60,3 +60,6 @@ net.ipv6.conf.all.forwarding = 0 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.all.accept_redirects = 0 net.ipv6.conf.all.autoconf = 0 + +# Minimum swappiness without disabling it +vm.swappiness=5 Review comment: @wido thanks, 0% on newer kernels may disable swapping. I'm okay to go as low as 1% which means swapping is only used as a last resort. Will change the value to 1. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
