Solution to service unavailable during Website access

Source: Internet
Author: User

If your website suddenly fails to be accessed and the Service unavailable error occurs, sometimes it may be caused by many reasons. Don't worry. Next we will introduce how to solve the problem of Service unavailable so that the website can operate normally.

I,If the "Service unavailable" prompt appears, you can refresh the page and access it..

This is because your website has exceeded the IIS limit because 2003 of the operating system prompts too many IIS, not as if the system prompts "too many connections ", the message "Service unavailable" appears because the website exceeds the system resource limit, mainly because the program occupies too many resources.

For example, for online forums of 100 people, leiao Forum accounts for more than 10 times the resources occupied by PW forums. In addition, some endless loop programs, or the program that is not optimized will occupy too much system resources, and the system resources are obviously limited. However, in the Windows operating system, each website runs in an independent process and does not affect each other.

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.

In addition, if your website currently has too many visitors and exceeds the system's IIS connection limit, a message indicating service unavailable will also appear (if there are too many connections on the Win2k host, a prompt will be displayed: too many connections, please try again later. The win2003 host just prompts: Service unavailable)

II,No restrictions on IIS connection, or service unavailable

It is common to websites that use access databases. Generally, users who use Windows 2003 IIS 6 may have this problem on a normal system, and suddenly a website cannot be opened. The following message is displayed: service unavailable, but this website does not limit the number of IIS connections. Then it immediately affected other websites. In a short time, all other websites were changed to service unavailable. Why?

After analysis, we can see that it is still the old problem of Ms. The access engine is ready. Use the server doctor's file to repair the fault. When you view the repair result, you will find that some files cause a "catastrophic fault" of the Access Engine and an "instance where the object is not referenced" error. After the file is repaired by the doctor, the system will recover to normal.

Organize:

III,When browsing a Windows SharePoint Services web site, Prompt: Service unavailable

Microsoft Internet Information Service (IIS) 6.0 does not correctly configure the application pool for the virtual server, this problem may occur.

Solution:

To solve this problem, follow these steps:

1. Verify that the application pool is configured for the virtual server. The default application pool is mssharepointportalapppool.

Follow these steps to determine the application pool that the virtual server is using.

A) Click Start, point to administrative tools, and click Internet Information Service (IIS) manager ".

B). Expand "servername", expand "web site", right-click the virtual server, and then click "properties ".

C) Click the "home directory" tab. The application pool configured for the virtual server is listed in the application pool box.

D). Click OK ".

2. Verify that the password used by the application pool account is correct. IIS does not automatically poll the password changes in the Active Directory Service. If the application pool account is a domain account whose password has expired, after you specify a new password for the account, you may receive the error message described in the "symptoms" section.

3. Verify that the application pool account is a member of the iis_wpg group and sts_wpg group on the server.

4. Restart IIS to recycle the application pool.

IV,The ISAPI filter is not loaded correctly.

If the ISAPI filter is not loaded successfully, the Service unavailable may occur when any website is accessed. In this case, you must solve the problem based on the loading failure or delete the ISAPI filter.

Sort data:

Cause 1: The number of IIS connections on the website exceeds

Solution 1: Increase the number of IIS connections

NOTE 1: In Windows 2003, when the system prompts that IIS is too large, the system prompts "Service unavailable" instead of "too many connections"

Cause 2: the website exceeds the IIS resource limit.

Solution 2: Add website resources

NOTE 2: When the website usage in winodws2003 exceeds the IIS limit on the website system resources, the system prompts "Service unavailable"

Cause 3: too many errors occur in website programs

Solution 3: modifying program errors

NOTE 3: Too Many website errors in winodws2003 may cause the application pool where the website is located to go wrong, at this time, you can see in the Windows2003 log that "the application pool 'xxx' is automatically disabled because a series of errors occur in the process that provides services for this application pool ", at this time, the website will directly display "Service unavailable"

"Service unavailable" caused by the preceding three reasons. Generally, after "Service unavailable" appears, you can refresh it several times to open it.

Cause 4: Access Engine Error

Solution 4: restart IIS

Note 4: some files have caused the Access database to "catastrophic fault" and "the instance where the object is not referenced" errors.

Cause 4: "Service unavailable", which means that all websites on the server that use the ACCESS database have errors and cannot be accessed.

The above four causes are common causes of "service unavailable". Other problems may cause this problem. Basically, you only need to restart IIS.

The fifth reason for service unavailable is that the ISAPI filter is not loaded properly.

This situation may also result from illegal attacks by others, resulting in excessive website traffic ·

This prompt will also appear if the CPU usage exceeds the limit.

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.