[Gllug] Increasing file descriptors

Xander D Harkness xander at harkness.co.uk
Thu Sep 12 12:51:12 UTC 2002


John HEARNS wrote:

>On 12 Sep 2002, John Hearns wrote:
>
>  
>
>>On Thu, 2002-09-12 at 13:07, Martyn Drake wrote:
>>    
>>
>>>3) Echoed the following:-
>>>
>>> 	echo  8192 > /proc/sys/fs/file-max
>>>
>>>      
>>>
>>I was looking at file-max recently myself - I wrote a 
>>SUE(*) feature to increase it only last week.
>>
>>Actually, a cleaner way to do this is to edit
>>/etc/sysctl.conf
>>That's a nice place to set other system type things too.
>>
>>8192 is the default, no?
>>I would advise something bigger on a server machine
>>- maybe 32768
>>    
>>
>
>I should give the recipe for this - people listen in to
>the list to learn.
>
>Edit the file /etc/sysctl.conf and add the line
>fs.file-max = 32786
>
>/sbin/sysctl -a  tells you what else can be set
>
>On a reboot, the script rc.sysinit should set the values,
>or you can do it immediately by /sbin/sysctl -p /etc/sysctl.conf
>
>  
>
Thanks John, easiest way to learn is from someone else's manual reading ;-)

There is also a gui for it (sysctlconfig-gtk)

I chucked a screen shot up just for people to have a nosey if they are 
interested.

http://openapps.harkness.co.uk/junk/sysctlconfig-gtk.png

Kind regards
Xander

>
>
>
>
>
>  
>




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list