Too many open files 问题常见原因和解决方案有哪些呢?
来源:云原生后端社区
一般是代码有Bug导致链接泄露,比如:流用完没有释放。如果不够用可以改系统配置。
1) What is ulimit in Linux? The ulimit command allows you to control the user resource limits in the system such as process data size, process virtual memory, and process file size, number of process etc.
2) What happens when the settings in this command are not set up properly? Various issues happen like native OutOfMemory, Too Many Open files error, dump files are not being generated completely etc.
3) How can you check current ulimit settings? There are various ways to check the current settings: a) From the command prompt, issue $ ulimit -a
来源:云原生后端社区
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。