$ cat /proc/{process-id}/limitsCheck current number of file descriptors of a process
$ sudo ls /proc/{process-id}/fd | wc -lSet file descriptors limit for a user at /etc/security/limits.conf
* soft nofile 64000Check system file descriptor limit
* hard nofile 64000
root soft nofile 64000
root hard nofile 64000
$ cat /proc/sys/fs/file-maxCheck current number of system file descriptors
$ cat /proc/sys/fs/file-nr
Credits:
No comments:
Post a Comment