Linux ssh -bash: ulimit: 问题解决

原创
2016/02/15 17:35
阅读数 2.4K

    最近在搭建新的hadoop集群的时候发现已经配置过互信的机器中有一台ssh登录的时候会出现如下提示:

[hadoop@hadoop207 ~]$ ssh hadoop208
Last login: Thu Jan 28 16:43:22 2016 from hadoop207.tadu.cn
-bash: ulimit: open files: cannot modify limit: Operation not permitted

    你只需要修改/etc/security/limits.conf,加入下面内容就行了

# End of file
* soft nofile 819200
* hard nofile 819200


展开阅读全文
加载中

作者的其它热门文章

打赏
1
0 收藏
分享
打赏
0 评论
0 收藏
1
分享
返回顶部
顶部