Skip to content

Instantly share code, notes, and snippets.

@narkisr
Created July 23, 2012 10:02
Show Gist options
  • Select an option

  • Save narkisr/3162922 to your computer and use it in GitHub Desktop.

Select an option

Save narkisr/3162922 to your computer and use it in GitHub Desktop.
enabling ulimit memlock ubuntu 12.04
# /etc/security/limits.conf
ubuntu hard memlock 8388608
root hard memlock 8388608
# /etc/pam.d/common-session
session required pam_limits.so
Note this seems to be working altough ulimit -l still reports 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment