Skip to contentSkip to conversation

Max number of open files in 2.4.x

DISCUSSION Stephan von Krawczynski 2 participants 2 messages Oct 25, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Stephan von Krawczynski

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

Signature · 8 lines
=====================================================================
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]
=====================================================================