-
-
Save cubiic/f7c8b1ca3f56ac9fd73b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eqbal@ubuntu:~/apps/current$ ulimit -a | grep files | |
open files (-n) 1024 | |
eqbal@ubuntu:~/apps/current$ ulimit -n | |
1024 | |
eqbal@ubuntu:~/apps/current$ ulimit -n 100000 | |
-bash: ulimit: open files: cannot modify limit: Operation not permitted | |
eqbal@ubuntu:~/apps/current$ sudo ulimit -n 100000 | |
[sudo] password for eqbal: | |
sudo: ulimit: command not found | |
eqbal@ubuntu:~/apps/current$ sudo -s | |
eqbal@ubuntu:~/apps/current$ ulimit -n 100000 | |
eqbal@ubuntu:~/apps/current$ exit | |
exit | |
eqbal@ubuntu:~/apps/current$ ulimit -n | |
1024 | |
eqbal@ubuntu:~/apps/current$ ulimit -n 100000 | |
-bash: ulimit: open files: cannot modify limit: Operation not permitted | |
eqbal@ubuntu:~/apps/current$ sudo ulimit -n 100000 | |
sudo: ulimit: command not found | |
eqbal@ubuntu:~/apps/current$ sudo -s | |
eqbal@ubuntu:~/apps/current$ ulimit -n | |
1024 | |
eqbal@ubuntu:~/apps/current$ ulimit -n 100000 | |
eqbal@ubuntu:~/apps/current$ ulimit | |
unlimited | |
eqbal@ubuntu:~/apps/current$ cat /proc/sys/fs/file-max | |
1620791 | |
eqbal@ubuntu:~/apps/current$ 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) 128164 | |
max locked memory (kbytes, -l) 64 | |
max memory size (kbytes, -m) unlimited | |
open files (-n) 100000 | |
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) 128164 | |
virtual memory (kbytes, -v) unlimited | |
file locks (-x) unlimited | |
eqbal@ubuntu:~/apps/current$ whoami | |
root | |
eqbal@ubuntu:~/apps/current$ exit | |
exit | |
eqbal@ubuntu:~/apps/current$ whoami | |
eqbal | |
eqbal@ubuntu:~/apps/current$ 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) 128164 | |
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) 128164 | |
virtual memory (kbytes, -v) unlimited | |
file locks (-x) unlimited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment