[Gllug] Increasing file descriptors

Martyn Drake martyn-d at moving-picture.com
Thu Sep 12 13:18:21 UTC 2002


On Thu, 12 Sep 2002 14:24:10 +0200 (CEST) John HEARNS wrote:

> 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 for the info, John.  Unfortunately that doesn't appear to have
done the trick:-

[root at akutan fs]# cat /proc/sys/fs/file-max
32786
[root at akutan fs]# ulimit -a
core file size (blocks)     0
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          4095
virtual memory (kbytes)     unlimited
[root at akutan fs]# ulimit -n unlimited
bash: ulimit: cannot modify limit: Operation not permitted

Regards,

	Martyn

-- 
Martyn Drake                 | Email :    martyn-d at moving-picture.com
Systems Administrator        | Web   :  http://www.moving-picture.com
The Moving Picture Company   | Phone :            +44 (0)20 7494 7853

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




More information about the GLLUG mailing list