new maximum open files limit - ignored?
I've tried various things to increase the per-uer maximum open files limit from 1024 to something higher. I've read all the threads on this topic here.
I've tried: bryce@linux> cat /etc/security/limits.conf * hard nofile 2048 bryce hard nofile 2048 bryce@linux:~> ulimit -n 4000 bash: ulimit: open files: cannot modify limit: Operation not permitted linux:/home/bryce # cat /etc/initscript ulimit -n 2047 linux:/home/bryce # cat /etc/pam.d/login #%PAM-1.0 auth required pam_securetty.so auth include common-auth auth required pam_nologin.so auth required pam_mail.so account include common-account password include common-password session include common-session session required pam_resmgr.so session required pam_limits.so But I still seem limited to 1024 open files: bryce@linux:~> ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 <------- pipe size (512 bytes, -p) 8 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 6143 virtual memory (kbytes, -v) unlimited Event after reboot. How can I get the OS to respect my nofile limit? |
I think that
Code:
bryce hard nofile 2048 Code:
bryce hard nofile 2048 |
All times are GMT -5. The time now is 11:28 PM. |