mongrel_rails,出错,显示too many open files。
ulimit -a 显示open file 1024
修改/etc/security/limits.conf
设置为4096,可以添加如下内容:
* soft nofile 4096
* hard nofile 4096
重启ok
ulimit -a 显示open file 1024
修改/etc/security/limits.conf
设置为4096,可以添加如下内容:
* soft nofile 4096
* hard nofile 4096
重启ok