[Gllug] Increasing file descriptors

Martyn Drake martyn-d at moving-picture.com
Thu Sep 12 11:07:16 UTC 2002


Hi,

I'm trying to increase the number of file descriptors under the 2.4.18
kernel (compiled with XFS 1.1 patches).  Following all the usual
conventions of:-

1) Editing /etc/security/limits.conf and adding:-

*	soft	nofile	1024
*	hard	nofile	4096

2) Added the following to /etc/pam.d/login:-

	session required /lib/security/pam_limits.so

3) Echoed the following:-

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

4) And tried to:-

	unlimit -n unlimited

and all I got back was:-

bash: ulimit: cannot modify limit: Operation not permitted

Any ideas why (even as root) I cannot adjust the file descriptors this
way?

Regards,

	Martyn


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




More information about the GLLUG mailing list