使用默認的設置:
[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