change ulimit on cent os 본문

Programming

change ulimit on cent os

halatha 2011. 10. 12. 05:36
http://essayboard.com/2011/05/28/raising-ulimit-on-centos-server/

$ su -
# vi /etc/sysctl.conf
(add fs.file-max = [value] at the end of the file)

# sysctl -p

# vi /etc/security/limits.conf

(add [type] - nofile [value] like below;
hdfs    -    nofile    [value]
hbase    -    nofile    [value]
* - nofile [value]

# ulimit -n [value]
# ulimit -n



Comments