Skip to content

Instantly share code, notes, and snippets.

@joar
Last active April 27, 2016 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joar/ce02e2b7241106b4a68d15f665973133 to your computer and use it in GitHub Desktop.
Save joar/ce02e2b7241106b4a68d15f665973133 to your computer and use it in GitHub Desktop.
# /etc/sysctl.d/60-joar-custom.conf
# - Increase max process ID number, this is the maximum possible number on 64-bit linux(?)
kernel.pid_max = 4194303
# - A value between 0..100 where 0 means avoid swapping as much as possible
# and 100 means swap as much as possible.
# - To set temoporarily: sudo sysctl vm.swappiness=10
# https://help.ubuntu.com/community/SwapFaq#What_is_swappiness_and_how_do_I_change_it.3F
vm.swappiness = 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment