Skip to content

Instantly share code, notes, and snippets.

@arsham
Created April 30, 2018 12:47
Show Gist options
  • Save arsham/3dc5970d4f1bb3177de751927b168d7b to your computer and use it in GitHub Desktop.
Save arsham/3dc5970d4f1bb3177de751927b168d7b to your computer and use it in GitHub Desktop.
Sysctl configuration to reduce swap stress on #linux
# put insize /etc/sysctl.d/99-sysctl.conf
vm.swappiness=1
vm.max_map_count=262144
vm.vfs_cache_pressure=50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment