2001-10-25 13:13:43

by Stephan von Krawczynski

[permalink] [raw]
Subject: Max number of open files in 2.4.x

Hello all,

Do I really have to patch source and recompile a 2.4 kernel to modify the
maximum number of open files?

Why is there such a hardcoded limit anyway?

Regards,
Stephan


2001-10-25 13:18:33

by Mohammad A. Haque

[permalink] [raw]
Subject: Re: Max number of open files in 2.4.x

On Thu, 25 Oct 2001, Stephan von Krawczynski wrote:

> Hello all,
>
> Do I really have to patch source and recompile a 2.4 kernel to modify the
> maximum number of open files?
>
> Why is there such a hardcoded limit anyway?
>

No need to patch. Check out the entry in /proc/sys/fs/file-max
$ cat /proc/sys/fs/file-max

To change the value:
echo XXXXX > /proc/sys/fs/file-max

--

=====================================================================
Mohammad A. Haque http://www.haque.net/
[email protected]

"Alcohol and calculus don't mix. Developer/Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
[email protected]
=====================================================================