The approx recommended value is 256 for every 4mb of physical ram - e.g. 128mb = 8192.
If you are on a 2.2 kernel, you should also increase the value of '/proc/sys/kernel/inode-max' to keep it around 4 times the 'file-max' value (same syntax as above).
Also, if you are compliing your own 2.4 kernels, you can change the default values in :
/usr/src/linux/include/linux/fs.h
i.e.
#define NR_FILE 8192 /* this can well be larger on a larger system */
#define NR_RESERVED_FILES 10 /* reserved for root */
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.