fedora@xxxxxxxxxx wrote:
I'm trying to up the number of allowable open files for users. I've added
the following line to /etc/sysctl.conf:
- fs.file-max=65500
and then added the following lines to /etc/security/limits.conf:
- johndoe soft nofile 4096
- johndoe hard nofile 32768
Following a reboot, when johndoes logs in, he does a ulimit -H -n, but
still sees 1024. Likewise, when he does a ulimit -n 4096, he gets
"bash: ulimit: cannot modify limit: Operation not permitted".
What am I missing?
Ignore the previous posting...something fell on my mouse!
Only root can change the "-n" limit. Normal users are not permitted.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "And on the seventh day, He exited from append mode." -
----------------------------------------------------------------------