1.ulimit -a查看open files
2.ulimit -n 65535
3.cat >>/etc/security/limits.conf<<eof
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
4.vi /etc/profile
ulimit -n 65535
时间: 2024-11-16 06:01:53
1.ulimit -a查看open files
2.ulimit -n 65535
3.cat >>/etc/security/limits.conf<<eof
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
4.vi /etc/profile
ulimit -n 65535