日期:2014-05-16  浏览次数:20521 次

linux文件打开数量_备忘录
引用
linux下的too many open files错误,AS4默认打开文件数是1024,如果超过这个数,resin就自动down掉了,非常恶心。解决办法如下:
echo 65536 > /proc/sys/fs/file-max
编辑/etc/sysctl.conf 文件,编辑行  fs.file-max = 65536
编辑文件/etc/security/limits.conf,增加行  * - nofile 65536