Sailor++

导航

 

ulimit –n 命令查看fd限制

默认会是1000或者1024

cat  /etc/security/limits.conf

Vi /etc/security/limits.conf

添加如下

* soft nofile 20480

* hard nofile 20480

 重启电脑,用ulimit -n查看是否修改成功

posted on 2013-08-03 16:45  SailorNet  阅读(253)  评论(0编辑  收藏  举报