In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When the server reports that the cpu is too high, you can use the following command to quickly export stack information to facilitate viewing specific problems.
1. Use the top command to locate the abnormal process. You can see that 3653 of the CPU and memory usage are very high.
At this point, you can execute ps-ef | grep java to view all the java processes, and find the process with the process number 12836 in the result, and then you can see which application occupies the process.
2. Use the top-H-p process number to view abnormal threads
3. Use the printf "% x\ n" thread number to convert the exception thread number to hexadecimal
# printf "% x\ n" thread number
4. Use the jstack process number | grep hexadecimal exception thread number-A30 to locate the exception code (the last-A30 is the number of log lines, or you can output it to a text file or use other numbers). You can see the location of the exception code.
You can show the error message to your R & D colleagues to see why.
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.