Solution to service unavailable on the website

Source: Internet
Author: User

Most of the problems with the service unavailable on the website are caused by excessive connections or iis server resource configuration. Next I will introduce the solution for the service unavailable on the website. For more information, see. Service unavailable appeared on the website for a short time yesterday, so the author solved the problem urgently. It is reported that Service Unavailable is a system warning prompt. If a website program occupies too many resources or has too many errors, the system log will prompt: "The application pool 'xxx' is automatically disabled, the reason is that a series of errors occur in the process that provides services for this application pool, or the prompt is: The application pool 'xxx' exceeds its job restriction settings. When you access this website, the message "Service Unavailable" is displayed. Generally, the system returns to normal in about 30 seconds, and can be accessed after several refreshes. Websites that encounter this problem are generally websites on the windows platform. Websites on the linux platform do not have this problem. Solution for network circle MANAGER: 1. Restart the iis of the website, and then the website will be restored. 1. Restart iis (1) Enter iisreset in Start> running to restart IIS. (2) As shown in, you can open IIS and right-click all tasks-> restart IIS to restart IIS (3) for example, you can right-click my computer> Manage> to find the World Wide Web service and restart it. 2. To avoid this problem, the Network Manager writes a script, run the script to automatically restart iis at half past four every day. The method is as follows: (1) First, write the following content in the notepad document:

The Code is as follows: Copy code
@ Echo offiisreset
Copy the code (2) and save it. bat format (note that the name should not be named after iisreset) (3) Open the scheduled task, add the scheduled task (4) follow the prompts to go one step further (5) Select Browse, go to your script file (6) Select daily, next (7) enter the server password (8) Check the figure and go to advanced settings (9) select schedule> advanced select (10) Check the duplicate task and select the interval at which you want to execute a line of IIS restart script. The duration is longer than that of the duplicate task, press OK to restart IIS on a regular basis!

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.