bash and max files on Linux (fwd)

From: Dax Kelson <dkelson@dont-contact.us>
Date: Sun, 4 Oct 1998 01:58:40 -0600 (MDT)

It seems bash won't give it up, I can lower, but not raise my max number
of file descriptors.

I successfully applied the 3kfd patch to a 2.0.34 kernel, compiled,
install, and rebooted. I also echo'd that stuff in /proc

[root@proxy kernel]# bash -version
bash -version
GNU bash, version 1.14.7(1)

[root@proxy kernel]# ulimit -a
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 256
pipe size (512 bytes) 8
open files 256
virtual memory (kbytes) 2105343

man bash

 ulimit [-SHacdfmstpnuv [limit]]
[snip]
              -n the maximum number of open file descriptors (most
systems do not allow this value to be set, only displayed)
[snip]

[root@proxy kernel]# ulimit -n 3000
ulimit: cannot raise limit: Operation not permitted
[root@proxy kernel]# ulimit -Hn 3000
ulimit: cannot raise limit: Operation not permitted
[root@proxy kernel]# ulimit -Sn 3000
ulimit: cannot raise limit: Operation not permitted
[root@proxy kernel]# ulimit -n 200
[root@proxy kernel]# ulimit -n
200

Help?
Received on Sun Oct 04 1998 - 00:59:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:19 MST