1. 打开编辑limits.conf文件
vi /etc/security/limits.conf
2. 插入以下内容
* hard nofile 999999
* soft nofile 999999
* soft nproc 65535
* hard nproc 65535
* hard stack 102400
* soft stack 102400
3. 查看确认是否修改成功
ulimit -a
1. 打开编辑limits.conf文件
vi /etc/security/limits.conf
2. 插入以下内容
* hard nofile 999999
* soft nofile 999999
* soft nproc 65535
* hard nproc 65535
* hard stack 102400
* soft stack 102400
3. 查看确认是否修改成功
ulimit -a