Skip to content

Instantly share code, notes, and snippets.

@joujiahe
Created March 27, 2014 18:03
Show Gist options
  • Save joujiahe/9814101 to your computer and use it in GitHub Desktop.
Save joujiahe/9814101 to your computer and use it in GitHub Desktop.
increase ulimit on ubuntu
# /etc/security/ulimits/conf
* soft nofile 999999
* hard nofile 999999
# /etc/pam.d/su
session required pam_limits.so
# /etc/profile
ulimit -SHn 999999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment