Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the linux 503 error

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to solve the linux 503 error, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Linux 503 error solutions: 1, increase the number of IIS connections; 2, repair server files; 3, correctly configure application pool; 4, apply CDN;5, switch system services, and so on.

This article operating environment: linux5.9.8 system, PHP7.1, Dell G3 computer.

How to solve inux Server 503? What is 503 service unavailable?

Recently, there has been a "service unavailable" situation on a customer's website, which can be solved quickly, and the responsible technology does not take long to help them solve it. Lao Mo also searched the Internet for this problem and found that Service Unavailable is a systematic warning. Mainly because the program of a website takes up too many resources or there are too many errors, the system log will prompt: "Application pool 'xxx' is automatically disabled because of a series of errors in the process of servicing this application pool" or "application pool' xxx' exceeds its job limit setting." At this point, visiting the site will prompt: Service Unavailable. In fact, the error situation such as 503 service unavailable on the website is not complicated, it is mainly divided into the following situations, and we can solve it according to our own situation.

1. 503 service unavailable appears in the access, but it can be accessed normally after refreshing.

This situation is caused by the website exceeding the iis limit. For example, when the operating system of 2003 prompts IIS too much, it does not prompt "too many links" like the 2000 system, but prompts "Service Unavailable". This situation is caused by the website exceeding the system resource limit, mainly because the program takes up too many resources.

Solution: it can be solved by increasing the number of IIS connections.

Second, there is no limit on the number of IIS connections, but it will also prompt for 503service unavailable

This kind of situation is generally the website that uses the ACCESS database, through the analysis, we can know that it is the ACCESS engine. Through troubleshooting, you will find that some files caused a "catastrophic failure" of the ACCESS engine and an error of "not setting an object reference to an instance of the object".

Solution: it can be restored to normal by repairing the files of the server doctor.

Third, when browsing a Windows SharePoint Services Web site, prompt: Service Unavailable

The reason for this problem is that the application pool for virtual servers is not configured correctly in Microsoft Internet Information Services (IIS) 6.0.

Solution:

1. First we need to verify that the virtual server has configured the application pool correctly, and the default application pool is MSSharePointPortalAppPool.

a)。 Click start, select Administrative tools, and then click Internet Information Services (IIS) Manager.

b)。 Open ServerName, expand Web sites, right-click the virtual server, and then click Properties.

c)。 Click the Home Directory tab, and the application pool configured for the virtual server is listed in the Application Pool box.

d)。 Click OK.

2. Verify that the application pool account is a member of the IIS_WPG group and STS_WPG group on the server.

Restart IIS to recycle the application pool.

Fourth, the website appears "service unavailable" problem for the first time, just restart IIS directly. The steps are as follows:

1. Use the shortcut key Windows+R to open and run, and type iisreset to restart IIS.

2. Search for IIS in the start menu, then open IIS, and then choose to restart IIS.

Fifth, the website often appears service unavailable503, or the method that will still hang up after restarting iis

1. Apply CDN

First of all, you have to rule out whether the server or vps resources are adequate, and see whether all the resources of your server are in the normal value (cpu, bandwidth, memory, etc.). Now the vps or server has background panel statistics. Cpu you are 100% sure to have a problem for a long time. When your hardware resources are not free, it will cause iis to work abnormally and report some messy errors. In fact, a relatively simple solution is to visit the website plus cdn, after putting on cdn, the server resources needed by the website will go to cdn, and the iis load will come down, so it will not report an error.

2. Turn off some unnecessary software functions

For example, many webmasters use security dog protection sites, the software is really good, but it will cause stutters. In addition, if your security level is default or very high, there will be a lot of interceptions, sometimes a few to a dozen per second, which also consumes your server.

3. Problems with the program of the website itself

If the interaction is not important in the operation of the website, it is more laborious to make the website static and dynamically run under iis, especially php.

4. Switch system services

If the website is still using iis system or apache/nginx built on win, it is recommended to switch to linux system. In fact, linux is not so difficult. It is recommended to install php environment with amh or pagoda, and then use winsp (a visual management tool similar to ftp) to manage files and permissions.

These are all the contents of this article entitled "how to solve linux 503 errors". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report