Pages

How to increase number of open files limit in Linux

file-max ==> This is the number of concurrently open file descriptors allowed by the kernel. The default is 8192

.............................................
# vi /etc/sysctl.conf
  fs.file-max = XXXXX
.............................................

For applying above changes run

# sysctl -p

You can verify the current value of the max-open-files limit by


# cat /proc/sys/fs/file-max
or
# sysctl -a | grep fs.file-max

No comments:

Post a Comment