In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
[Phenomenon]: The application response is slow and restarted by the monitoring script; the application load is low and the access pressure is small.
[Cause Analysis]:
1. Use netstat -na| wc -l View connections, connections are normal
2, use kill -3 PID, check the generated jvm_xxx.log, see what java is doing, see if it is normal
For example:
Cosmetics library, jvm LOG generated before the application is restarted by the monitored script has the following information
Statistics show that more than 230 threads are running this task;
Resin is configured with only 256 threads. This request takes up too many threads. Resin cannot process other requests, causing the request to timeout.
3. What are these requests and why are there so many of them? From the business view, we know that this request is an interface for the cosmetics library application to request quick search (using httpclient mode), and format the returned data and display it in the foreground.
4, Httpclient mode, each request needs to occupy a thread, when a request is completed after the thread will be reused, when the called system response is slow, it will lead to the call of its own application thread occupied too much, no resources to provide other services.
Solution:
Adjust the application to use httpclient method to call other resources, change to other methods or increase cache to reduce the number of calls.
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.