About us

Quality oriented, customer-oriented, hardworking, pragmatic and innovative

<Return to the public list of news

How to solve the service unavailable error on the website built based on Huawei virtual machine?

Release time: 2022-03-23 11:24:56
Recently, some webmasters who tried out Huawei virtual machine reported, "Why does my website sometimes display a prompt of" Service Unavailable ", sometimes refresh it several times, and then you can again Access. " In this case, it is generally because your site exceeds the limit of system resources, mainly because your traffic is too large or your program takes up too much resources. that be based on Huawei VM How to solve the service unavailable error of the built website? Today, Micronet will analyze this situation in detail for our vast number of Huawei VM users. There are two main reasons.
 How to solve the service unavailable error on the website built based on Huawei virtual machine?
First, Huawei's virtual machine traffic is too high
First, let's talk about the reasons for the excessive traffic. For example, if you buy a basic Huawei virtual machine, the rated traffic of the Huawei virtual machine is 15 gigabytes per month, that is, the traffic of your website is 15 gigabytes per month. If the traffic is less than 0.5 gigabytes per day, you can access it normally. If the number of visits to the website increases rapidly for several consecutive days, and the daily traffic exceeds 0.5 G, then the host is overloaded. When the system runs excessively, sometimes it can be accessed normally, sometimes it will be automatically stopped by the system (Service Unavailable).

Of course, there are also countermeasures against this situation: first log in to the Huawei VM Management Center to check the latest access statistics and traffic statistics, and see if there is any abnormal growth in traffic. Sometimes a site's RAR or mp3 files are stolen by other sites, and the traffic will grow dozens of times. From the analysis of the "file classification" function in the log download and access statistics provided by us, we can determine whether there is piracy or a large number of downloads. If the traffic grows naturally and the purchased model cannot meet the requirements, you need to upgrade the virtual host model and configuration to obtain more traffic quotas.

Second, the programs of Huawei virtual machine occupy resources excessively
This can be understood as follows: for example, in an online forum with 100 people, Forum A occupies 10 times more resources than Forum B; In addition, some endless loop programs or programs that have not been optimized (such as A'Jiang's 1.0 statistical data with too large database) will occupy too many system resources, which is obviously limited. Because our new Huawei virtual machine uses the WINDOWS 2003 operating system, websites run as independent processes without affecting each other, which can greatly optimize the resources occupied by programs.

Solution to the over utilization of Huawei virtual machine program resources: If the programs at a site on Huawei virtual machine occupy too much resources or there are too many errors, the system will prompt ServiceUnavailable when accessing the site. Usually, the system returns to normal in about 30 seconds, and can be accessed normally after several refreshes. If similar errors often occur, please optimize the website operation plan in a timely manner, or upgrade the Huawei virtual machine we use to a higher version to obtain more system resources.
 How to solve the service unavailable error on the website built based on Huawei virtual machine?
The above is what Micronet shares for you A service unavailable error occurs on the website built based on Huawei virtual machine Two main reasons and How to solve the problem? I believe that after reading it, it will be helpful to our users of Huawei virtual machines. Huawei Cloud, a micro network agent, is an excellent cloud computing service provider. It can provide the best service for friends who want to rent Huawei virtual machines to set up private game servers. It has perfect industry solutions and excellent cloud computing technology. The self-developed pure SSD architecture virtual machine breaks the industry record with 50000 IOPS random read/write speed and 800 Mb/s throughput as performance indicators. The ECS elastic virtual machine uses pure SSD architecture hardware devices. It can easily acquire and enable the cloud in just a few minutes to meet your computing needs. Expanding the flexibility of resource use also saves you computing costs, simplifies IT operations, and enables you to pay more attention to core business innovation.



/template/Home/Zkeys/PC/Static