Re: Max number of open files in 2.4.x

Mohammad A. Haque (mhaque@haque.net)
Thu, 25 Oct 2001 09:18:41 -0400 (EDT)


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/ mhaque@haque.net

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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/