Skip to content

Instantly share code, notes, and snippets.

@murilopontes
Created August 14, 2016 11:35
Show Gist options
  • Save murilopontes/7d7e22d6de13b49d119a2e0fed4e3f1a to your computer and use it in GitHub Desktop.
Save murilopontes/7d7e22d6de13b49d119a2e0fed4e3f1a to your computer and use it in GitHub Desktop.
ulimit -s 256
ulimit -i 1000000
ulimit -n 1000000
ulimit -a
echo 1000000 > /proc/sys/kernel/threads-max
cat /proc/sys/kernel/threads-max
echo 1000000 > /proc/sys/vm/max_map_count
cat /proc/sys/vm/max_map_count
echo 1000000 > /proc/sys/kernel/pid_max
cat /proc/sys/kernel/pid_max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment