Today, Patrick J. O'Rourke gleaned this insight:

> > For the whole system, its very easy:
> > 
> >     echo 4096 >/proc/sys/fs/file-max
> 
> You can also use the sysctl(8) command:
> 
>       sysctl -w fs.file-max=131072
> 
> > Note that you'll have to do that at boot-time to (probably in
> > /etc/rc.d/rc.local).
> 
> Just curious, but why would you have to do this at boot time?  As far as
> I can see you can increase it whenever (from get_empty_filp() in
> fs/file_table.c):

You can do it any time, but as a practical matter you don't generally
change this value once you figure out what you need it to be, and you
generally will always need it to be set to that value, so in general it's
something you'd want to do at boot time.


-- 
You know that everytime I try to go where I really want to be,
It's already where I am, cuz I'm already there...
---------------------------------------------------------------
Derek D. Martin              |  Unix/Linux Geek
[EMAIL PROTECTED] |  [EMAIL PROTECTED]
---------------------------------------------------------------


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to