In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to solve the 503 problem of the server". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the 503 problem of the server.
There is a 503 error when using the iis7 server monitoring tool to monitor our server, indicating that there is something wrong with the server.
Take the win2008 server as an example:
1. First of all, we need to remotely access the server desktop, then open IIS, find the application pool that often causes 503 errors, select the program pool, and the program pool in the shadow part of the following figure is the selected application pool.
2. When selected, we click the Advanced Settings button on the right, which needs to be set.
3. Then we turn on recycling in turn and disable overlapping recycling. One of the options is to select ture, that is, to change "No" to "Yes". The purpose is to exit the existing worker process before creating a worker process.
4. After setting up recycling, we need to set up a quick failure. Find the "service unavailable" response type, as shown in the following figure, which is httplevel by default, indicating that 503 error is returned when the application is stopped.
5. To solve this problem, we set the "service unavailable" response type to TcpLevel so that the core components of the http.sys operating system will reset the connection, thus solving the problem.
6. After the fault response is set, we also need to modify the queue length, which is 1000 by default. If the queue length exceeds 1000, it will still return an error of 2000, so we change the request queue to 2000.
7. After setting up, we also need to set up the IIS output cache, because this item is not set by default. If we set it, the site will have a cache, and users will not reload after repeated requests, so as to avoid the occurrence of 503.
8, the setting method is to enter the output cache interface, add cache rules, file extension set according to your own needs, you can make .html, can be .aspx, and so on. Check user mode cache and kernel mode cache and click OK.
9. At this point, we also need to set the HTTP response header, and click the HTTP response header on the right side of the website, as shown in the following figure.
10. Set the HTTP response header as shown in the following figure
11. In the HTTP response header, we check to make the WEB content expire, and it is better to set it for 1 year, so that the number of requests can be reduced in a short period of time. We can also set 30 days, depending on whether there are frequent changes in the content of your website.
At this point, I believe you have a deeper understanding of "how to solve the 503 problem of the server". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.