cent6.5 设置open_files max_user_processes
Posted 魏大宾
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cent6.5 设置open_files max_user_processes相关的知识,希望对你有一定的参考价值。
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太小,会出现内存溢出的现象。
以上是关于cent6.5 设置open_files max_user_processes的主要内容,如果未能解决你的问题,请参考以下文章