Tag Info

New answers tagged


The file-max limit that you see under proc fs is one value in struct in "./include/linux/fs.h" the struct is: /* And dynamically-tunable limits and defaults: */ struct files_stat_struct { unsigned long nr_files; /* read only */ unsigned long nr_free_files; /* read only */ unsigned long max_files; /* tunable THIS IS OUR VALUE */ }; Now in ...


You can find the limit for a process with pid in /proc/<pid>/limits and there is an entry Max open files.

Top 50 recent answers are included