too many open files
too many open files
Table of Contents
1 too many open file终极解决方案
echo “” >> /etc/security/limits.conf echo “* soft nproc 65535″ >> /etc/security/limits.conf echo “* hard nproc 65535″ >> /etc/security/limits.conf echo “* soft nofile 65535″ >> /etc/security/limits.conf echo “* hard nofile 65535″ >> /etc/security/limits.conf echo “” >> /root/.bash_profile echo “ulimit -n 65535″ >> /root/.bash_profile echo “ulimit -u 65535″ >> /root/.bash_profile #最后重启机器或者执行 ulimit -u 655345 && ulimit -n 65535
posted on 2013-03-29 11:58 liweilijie 阅读(226) 评论(0) 编辑 收藏 举报