In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
What is the troubleshooting method for the soaring use of server memory? many beginners are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can get something.
These days their own online beggar server encountered a problem, io will instantly soar to a very high, resulting in a surge in memory usage. But in fact, the concurrency is not large (the number of network connections). Know which process caused it, but do check that there is no place in the code where there is such a large read and write. I can't figure it out.
A socket service is deployed. Run with a test script while 100 socket connections are stress-free. I don't know what kind of data sent by the other party caused such a large amount of memory.
Similar problems have been dealt with before. The trouble is to locate the problem well and reproduce the actual operation. There is no way, we can only grab packets for socket service-specific ports. It is hoped that this situation can be repeated through data packets.
The server problem is nothing more than the unreasonable use of resources, resulting in very abnormal fluctuations in server memory, cpu,io, traffic and other related resources, and the resource utilization rate soars. There is no other better way to troubleshoot server performance problems, and it can only be improved by reproducing the review. Especially if there are many things running on the server, it is quite painful to check one by one.
If there is a problem, first look at the log. If it is online, think of a way to restore the service before troubleshooting.
Take a look at the login log to see if there are any anomalies in the access log to determine if someone is scanning the machine.
Look at the performance monitoring chart, analyze the condition of the machine, and the regularity of the problem.
See if any service is kill by the system. In general, the system log records the list of processes before kill, which can be used to analyze which processes take up more resources.
If you still don't find the reason, you can only grasp the network data. The online problem is reproduced in the test environment through the recorded network data.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.