streamset 设置maximum open file er

2017-06-20  本文已影响0人  crazydane

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

hxd           soft    nofile          40000
hxd           hard    nofile          40000

hxd是用户名
然后使用命令

ulimit -n 40000

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

上一篇 下一篇

猜你喜欢

热点阅读