linux - How to change ulimit in CentOS6 -
i using centos6.6
, trying install hdp2.2
when do: ulimit -sn
value 1024
when do: ulimit -hn
value 4096
the recommended maximum number of open file descriptors 10000
, or more.
i trying increase value. have checked several link , trying follow steps not getting success. looking increase value.
centos different rhel5, need modify file /etc/security/limits.conf
, add follow sentences end of file:
* soft nofile 655350 * hard nofile 655350
then, relogin system(very important). gook luck.
Comments
Post a Comment