[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] How do you increase allowed open files?



On Fri, 16 Feb 2001, John M Troher wrote:
> 
> The docs I find on redhats site are very clear.  They state that
> /proc/sys/kernel/file-max contains the number of open files and if
> you want to increase the do: "echo 4096 > /proc/sys/kernel/file-max" 
> to increase the allowd open files to 4096.
> 
> One BIG problem I see!!!  file-max doesn't exist in the /proc/sys/kernel
> folder and you can not create it because of the read only permissions on the
> folder. And you can not change the permissions on the folder either.
> 
> So does anyone know how to increase the limit of files the kernel can
> have open at one time?

You posted this twice ;)

You can't create things in /proc/ ,the kernel builds proc all by itself
based on whatever capabilities it has, it's not a real filesystem as such,
just a sneaky way for the kernel to get/give you information.  if you
don't have file-max it's either because your kernel is too old to have
that feature (You used to
have to recompile to change max file handles) or the kernel was compiled
without the ability to change it...

So basiclly, see if cobalt has a OS update with a new kernel in it (They
do have some for certain machines), or wait for them to release one....

Btw, what machine? 2.0.34 has file-max ...

gsh