首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

Mongrel _rails 异常, Too many openfiles 的解决

2012-06-28 
Mongrel _rails 错误, Too many openfiles 的解决mongrel_rails,出错,显示too many open files。ulimit -a

Mongrel _rails 错误, Too many openfiles 的解决
mongrel_rails,出错,显示too many open files。


ulimit -a 显示open file 1024


修改/etc/security/limits.conf
设置为4096,可以添加如下内容:

* soft nofile 4096
* hard nofile 4096

重启ok

热点排行
Bad Request.