You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/10/10 10:03:27 UTC

[GitHub] wido commented on a change in pull request #2892: sysctl: don't use swap until ram reaches 95% usage

wido 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_r224014020
 
 

 ##########
 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:
   Fine with me, 5% works, 1% works or even 0%.
   
   If you would set it to 0% it would only swap in the worst-case scenarios, but this is fine as well.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services