[opensuse] How to change File Descriptor in booting process?
Dear Lists, Need advise about "permanently" change File Descriptor (Soft). I did some changes but seems un-success yet. 1. Changed script in /etc/sysconfig/ulimit section SOFTFDLIMIT to 8192. 2. Put command unlimit -HSn 8192 in /etc/rc.d/boot.local Both actions did not change the open file (checked by type "unlimit -a"), it is still 1024. Thx & Rgds, Wong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 30.08.2009, Wong wrote:
Both actions did not change the open file (checked by type "unlimit -a"), it is still 1024.
As far as I understand, you'll have to change the __FD_SETSIZE parameter in /usr/include/bits.typesizes.h first. To set this limit afterwards, you have to include this in your bootscripts (where xxxx is your new limit): echo xxxx > /proc/sys/fs/file-max ulimit -Hn xxxx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Heinz Diehl
-
Wong