In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How to troubleshoot that the file handle consumes too much? This article uses the example code to show, the code is very detailed, which can be used for reference by interested friends. I hope it will be helpful to you.
Background:
As the business iterates, some projects are refactored with nodejs and deployed to run in the K8s environment. In order to facilitate the analysis, a version of the code is added to add the function of output log.
Phenomenon:
Half a day after the launch, I found that R & D feedback received an error warning that too many open files was used to open too many files, and some of the pod crash was dropped, affecting the user experience.
At the same time, when OPS checks the monitoring, you can see that the usage of file handles has increased sharply in a short period of time, as shown in the following figure:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.