This can be changed dynamically by writing to /proc/sys/fs/file-max
For example, to change to 8192,
echo "8192" > /proc/sys/fs/file-max
BTW, I think this was introduced in 2.2.x kernels...
Regards
SOjan.
On Wed, 3 Jan 2001, Ravi Ananth Giri K. wrote:
>
> One of our m/c's which had samba, vnc running and was being used as a development
>m/c(accesed by 8 ppl regularly) used to have a perennial problem - it used to report
>that "shared libraries could not be loaded - too many open files in system".
>
> The problem was solved by recompiling the kernel after increasing the values in
> fs.h and limits.h
>
> Can someone tell me whether this is normal; or colud this problem have occured due
>to something else entirely ?
>
> Regards,
> --------------------------------------------------------------
> Ravi Ananth Giri K. r a v i g i r i @ i s h o n i . c o m
> h t t p : / / w w w . g e o c i t i e s . c o m / r a v i a g k
> --------------------------------------------------------------
>
> ----------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/LIH
>
--
--- Sojan James--------- Information Appliance SW -------------
--- Ph: 5587918/919/920- National Semi. India Designs Ltd. ----
--- ext.308 ------------ 7/6 Brunton Road, Bangalore 25. India-
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/