使用默认的设置:
[[email protected] data]# ulimit -n
1024
修改:
[[email protected] htdocs]# vim /etc/security/limits.conf
* soft nofile 819200
* hard nofile 819200
[[email protected] htdocs]# vim /etc/sysctl.conf
fs.file-max = 819200
[[email protected] htdocs]# sysctl -p
时间: 2024-10-02 04:55:17