Workaround for service unavailable on the "Go" site

Source: Internet
Author: User

Special Note: The tutorial in this article is only suitable for operation on IIS components with Windows Server, Service Unavailable is a problem that many websites often encounter, hope to be useful to everybody.

Yesterday a short period of time the website appeared service unavailable, so the author urgently solves this problem, learned service unavailable is a kind of system warning prompt. If a site has too many resources or too many errors, the system log prompts: "Application pool ' xxx ' is automatically disabled because of a series of errors in the process serving this application pool, or if the application pool ' xxx ' exceeds its job limit settings." At this point, visit this site will prompt: Service unavailable. The general system will return to normal in about 30 seconds, a few more refresh can be normal access. This issue occurs for websites that are generally Windows platforms that do not have this problem on the site of the Linux platform.

How to solve the network Circle Butler:

A: Restart the Web site for IIS, and the site resumes access.

1. How to restart IIS

(1) IIS restart can be implemented as shown in entering IISReset in the start-〉 run.

(2) as shown can be restarted IIS by opening IIS and then right--〉 All Tasks-〉 Restart IIS

(3) If you can also right-click My Computer-manage-〉 service to find the World Wide Web service to restart

Second: In order to avoid this problem, the network Circle Butler wrote a script that automatically restarts the IIS script 4:30 A.M. every day, by doing the following:

(1) First write the following in the Notepad document

@echo off

IISReset

Copy Code

(2) then save as a. Bat form (note that the name is not named IISReset)

(3) Open a scheduled task and add a scheduled task

(4) Follow the instructions step by step down

(5) Select Browse, navigate to the file where your script is located

(6) Select Daily, Next

(7) Enter the server password

(8) Tick the figure shown, enter the advanced settings

(9) Select Schedule-〉 Advanced options

(10) Check the repeat task, choose how often you want to execute a line of IIS restart script, the duration is longer than the repeated task time, press OK can be implemented to restart IIS at a timed time!

Workaround for service unavailable on the "Go" site

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.