[Centos] permanent ulimit -n on CentOS 3.4
C. Linus Hicks
lhicks at nc.rr.com
Thu Feb 24 05:37:52 UTC 2005
On Thu, 2005-02-24 at 00:17 -0500, Mike Obvious wrote:
> I did it before:
> * soft nofile 16384
> * hard nofile 16384
> in /etc/security/limits.conf, but it doesn't work at all - I still have
> #ulimit -n
> 1024
> #ulimit -Hn
> 1024
>
> Any other ideas?
The above does not change the default. It will allow you to do:
ulimit -Hn 16384
once you are logged in. Also note that fs.file-max defaults to 209632 on
CentOS-3 (at least that's what it is on my system).
--
C. Linus Hicks <lhicks at nc dot rr dot com>
More information about the CentOS
mailing list