Re: Max number of open files in 2.4.x

From: Mohammad A. Haque (mhaque@haque.net)
Date: Thu Oct 25 2001 - 08:18:41 EST


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/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:26 EST