too many open files
(备注:本文最早写于2016年,发表在网易博客,因网易博客停止运营,将文章转移到云栖社区。 当时因工作的原因用英文书写,表达的不准确的地方望留言指正) Recently, I looked into the “too many open files” issueson linux server.I summarized the analysis in detail. If you encounter the file descriptor leaks problem, or are interested in this kind of issue,it might be helpful to you. What’s file descriptor? On linux server, openinga fileor a network connectionwould cost a file descriptor.A application haslimitation on file descriptors, each process can cost at most 1...
