Created
April 30, 2018 12:47
-
-
Save arsham/3dc5970d4f1bb3177de751927b168d7b to your computer and use it in GitHub Desktop.
Sysctl configuration to reduce swap stress on #linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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