too many open files. How to increase the limit

Ambrogio fn050202 at flashnet.it
Wed Nov 1 17:07:26 UTC 2006


Il giorno mer, 01/11/2006 alle 09.00 -0800, Peter Gordon ha scritto:
> Ambrogio wrote:
> > I don't remember how to change the limit.
> > Can you help me?
> 
> `ulimit -n` will print the current limit of maximum open file
> descriptors; and if you add a number to that, it becomes the new
> limit. For example, if you want to set it to have up to 65536 open
> file descriptors at once, something like `ulimit -n 65536` will do
> it.
Tnx.

Now I have 1024 and I want that the new limit will be available at every
boot.

I think the best place is in rc.sysinit (or rc.local).
What do you think?

Bye
 Ambrogio




More information about the fedora-list mailing list