Wednesday, January 8, 2014

Viewing the maximum number of open files allowed

To check the maximum number of files allowed for a user on Linux run the following command:
$ ulimit -n

To view the maximum number of files allowed on the system as a whole:
$ cat /proc/sys/fs/file-max