I am trying to set the value of maximum number of open files in Ubuntu in etc/security/limits.conf
, but i am not getting the same value reflected when i fire the command ulimit -a
.
I am adding the following values in the limits.conf :
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
but on firing ulimit -a
, i am getting :
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 139264
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 30048
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
max rt priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 139264
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited