本文共 340 字,大约阅读时间需要 1 分钟。
使用默认的设置:
[root@slave data]# ulimit -n
1024修改:
[root@localhost htdocs]# vim /etc/security/limits.conf
* soft nofile 819200
* hard nofile 819200[root@localhost htdocs]# vim /etc/sysctl.conf
###System open file num
fs.file-max = 819200
[root@localhost htdocs]# sysctl -p
本文转自独弹古调 51CTO博客,原文链接:http://blog.51cto.com/hunkz/1948272,如需转载请自行联系原作者