美文网首页
streamset 设置maximum open file er

streamset 设置maximum open file er

作者: crazydane | 来源:发表于2017-06-20 17:53 被阅读0次

遇到maximum open file limit的问题
首先修改/etc/security/limits.conf文件,在最下面添加

hxd           soft    nofile          40000
hxd           hard    nofile          40000

hxd是用户名
然后使用命令

ulimit -n 40000

最后,切记。先退出当前用户比如hxd,切到root再切回来。

相关文章

网友评论

      本文标题:streamset 设置maximum open file er

      本文链接:https://www.haomeiwen.com/subject/dcraqxtx.html