toomanyopenfile

guiyun affiliate

问题:

报toomanyopenfile错误

解决:

终极解决方案

echo“”>>/etc/security/limits.conf

echo“*softnproc65535″>>/etc/security/limits.conf

echo“*hardnproc65535″>>/etc/security/limits.conf

echo“*softnofile65535″>>/etc/security/limits.conf

echo“*hardnofile65535″>>/etc/security/limits.conf

echo“”>>/root/.bash_profile

echo“ulimit-n65535″>>/root/.bash_profile

echo“ulimit-u65535″>>/root/.bash_profile

最后重启机器或者执行:

ulimit-u655345&&ulimit-n65535


guiyun affiliate

作者头像
南宫俊逸创始人

君子好学,自强不息~

上一篇:http服务无法启动一例
下一篇:ibdata1和mysql-bin致磁盘空间问题

相关推荐

4

发表评论