ulimit -n VALUE
1. 查看/etc/security/limits.conf
* hard nofile 2048
* soft nproc 2048
确定VALUE是否大于2048。
2. 先su到root,再从root su到普通用户, 再ulimit -n VALUE 就行了。
ulimit -n VALUE
1. 查看/etc/security/limits.conf
* hard nofile 2048
* soft nproc 2048
确定VALUE是否大于2048。
2. 先su到root,再从root su到普通用户, 再ulimit -n VALUE 就行了。
转载于:https://www.cnblogs.com/herm/archive/2011/02/18/2773952.html