Re: Open files too many/maxed; how to allow more?
On Wed, 9 Jun 1999, Shaleh wrote:
> >
>
> A better solution is to find out why so many files are open and help close them.
Not really. On a couple of my systems that handle a couple of rather
large mailing lists, I can not use 2.0 kernels easilly because of this
problem. In other words, the large number of open files is a perfectly
normal consequence of what the machine is doing. Sure, I can throttle it
back just to keep the number of open files lower at the expense of reduced
performance.
Same goes for very busy web servers. It is fairly easy to hit the max
file and max inode rail on 2.0 kernels in the course of normal operations.
One should not have to throttle system performance to compensate for
arbitrary limits such as this.
With 2.2 kernels, simply adjust the values in
/proc/sys/fs/file-max and /proc/sys/fs/inode-max
No need to even reboot.
George Bonser
Welcome to Wit's End
Reply to: