from an older post (also this article: http://www.byte.com/column/BYT20000829S0006 ):

The settings you want are in /proc/sys/fs/file-max and
/proc/sys/fs/inode-max.  By default they're 4096 and 7680 respectivly.  To
increase them just echo the number you want into the file...

echo 8192 > /proc/sys/fs/file-max
echo 32768 > /proc/sys/fs/inode-max

... for instance.  You can do that at run time - no need to reboot or
anything it will take effect immediatly.

Redhat provide a fairly simple way to set this automatically at boot time.
Add the lines...

# Set maximum file and inodes
fs.file-max = 8192
fs.inode-max = 32768

... to /etc/sysctl.conf and they'll be set each time you boot up.  An recent
releases anyway - i'm not sure when sysctl.conf was introduced to redhat.

I as understand it file are the number of acutal file handles that can be
open but inode is the number of file descripters of all kinds.. pipes and
sockets ect ect.  At least... i think so. :/  Also of interesy to you may be
/proc/sys/fs/file-nr and /proc/sys/fs/inode-nr.  This shows the highwater
mark, the current count and the max.


At 03:58 PM 12/14/2000 -0600, you wrote:
>Howdy,
>
>I'm having a hard time finding info on increasing the number of file handles. I know 
>in the past I've read articles on it, but it never mattered before.
>
>Does anyone know where some articles on this are?
>
>(or know for sure how to do it. This is a production server, so no wild guesses ;-) )
>
>        JW
>
>----------------------------------------
>Jonathan Wilson
>System Administrator
>
>Cedar Creek Software
>http://www.cedarcreeksoftware.com
>
>Central Texas IT
>http://www.centraltexasit.com
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list 

----------------------------------------
Jonathan Wilson
System Administrator

Cedar Creek Software
http://www.cedarcreeksoftware.com

Central Texas IT
http://www.centraltexasit.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to