Too many open files in system处理
redhat OS下VCS engine_A日志提示:2010/05/01 22:31:50 VCS INFO V-16-20002-211 (hndata2) Netlsnr:Ora_Netlsnr:monitor:Monitor procedure /opt/VRTSagents/ha/bin/Netlsnr/LsnrTest.pl returned the output: /bin/su: /bin/bash: Too many open files in system
处理方法:
# cat /proc/sys/fs/file-max
65536
发现文件限制数太少
查看/etc/sysctl.conf发现:
fs.file-max = 65536
修改成为:fs.file-max = 655360
运行:
# sysctl -p
如果不想直接修改配置文件可运行:echo "655360" >/proc/sys/fs/file-max 。
重启后,配置会自动恢复原始配置。
页:
[1]