Website appears Service Unavailable solution

Source: Internet
Author: User
Tags system log
Yesterday a small period of time the website appeared service unavailable, so the author solved this problem urgently, learned that service unavailable is a kind of system warning prompt. If a Web site has too many programs or too many errors, the system log prompts: "Application pool ' xxx" is automatically disabled because of a series of errors in the process serving the application pool, or because the application pool ' xxx ' exceeds its job restriction setting. At this point, visit this site will be prompted: Service unavailable. The general system will return to normal in about 30 seconds, more than a few times can be normal access to refresh. The site of this problem, typically the Web site of the Windows platform, has no problem with the Linux platform's Web site.
Network Circle Butler Solution:
One: Restart the Web site's IIS, and then restore access to the Web site.
1, restart the IIS method
(1) as shown in the following figure, you can implement IIS restart by entering IISReset in the start-〉 run.
(2) as shown in the following illustration, you can restart IIS by opening IIS and then right-clicking-〉 All Tasks-〉 IIS
(3) The following figure can also be done by right-clicking my computer--managing the-〉 service to find the World Wide Web service to restart
Second: To avoid this problem, the web-circle Butler wrote a script that automatically restarts IIS every 4:30 A.M., as follows:
(1) First write the following in the Notepad document
The code is as follows Copy Code
@echo off
IISReset
Copy Code
(2) then save As. Bat (note that names are not named after IISReset)
(3) Open Scheduled Tasks, add Scheduled Tasks
(4) Follow the prompts step-by-step down
(5) Select Browse, navigate to the file of your script
(6) Choose Daily, Next
(7) Enter the server password
(8) Check the diagram to enter the advanced settings
(9) Select Schedule-〉 Advanced options
(10) Repeat the task on the hook, select how long you want to execute a row of IIS restart scripts, the duration is longer than the repetitive task time, click OK to implement the scheduled restart of IIS!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.