Skip to content

Instantly share code, notes, and snippets.

@suenot
Created April 23, 2018 05:18
Show Gist options
  • Save suenot/bb2d9a227f0c0eec2568f94ca9e8cc10 to your computer and use it in GitHub Desktop.
Save suenot/bb2d9a227f0c0eec2568f94ca9e8cc10 to your computer and use it in GitHub Desktop.
### default
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 127927
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 127927
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
### recommend
ulimit -f unlimited
ulimit -t unlimited
ulimit -v unlimited
ulimit -l unlimited
ulimit -n 64000
ulimit -u unlimited
ulimit -m unlimited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment