cent6.5 设置单用户的open_files 和max_user_processes的方法如下:
vi /etc/security/limits.conf
增加如下配置:
root hard nproc 10000
root soft nproc 10000
root hard nofile 10000
root soft nofile 10000
bigdata hard nproc 10000
bigdata soft nproc 10000
bigdata hard nofile 10000
bigdata soft nofile 10000
在hadoop2.7.3中max_user_processes太小,会出现内存溢出的现象。