开发者社区> 问答> 正文

Too many open files 问题

Too many open files 问题常见原因和解决方案有哪些呢?
来源:云原生后端社区

展开
收起
Atom 2020-04-25 13:35:12 702 0
1 条回答
写回答
取消 提交回答
  • 一般是代码有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
    来源:云原生后端社区

    2020-04-25 13:45:45
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
OPEN SOURCE 立即下载
OPEN SOURCE IN A DATA-DRIVEN WORLD 立即下载
Building a Real-Time Fraud Prevention Engine Using Open Source (Big Data) Software 立即下载