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 error of website memory overflow

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

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the website memory overflow error". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought. Let's study and learn "how to solve the website memory overflow error"!

The server, configuration and system of Aliyun I use are shown in the following figure:

How to configure the server

Suddenly get up in the morning to go to work, and then open their own website to have a look, indicating that the database can not be connected.

I was fooled at that time. I don't know what was going on. I didn't get attacked or registered on the registration machine. (in fact, I have a small website which is rare.)

First of all, I use secureSRT to link to the server, which is the following picture ~ of course, if you have win, you can directly remote desktop, but it is still not as stable as mine, not as cheap as mine ()

SecureSRT

Found that the server can be linked, indicating that it is normal, the server has not been shut down. Then I connect to the database MySQL. The syntax is as follows:

-hlocalhost-u username-p password

Surprised to find that unable to enter, error message 2002

Connection database error message

This question must first find my service provider, so I went to the management background to submit a work order.

Submit a work order and let the service provider handle the situation.

The feedback I got:

1. Memory overflow

Memory overflow

2. It is recommended to upgrade the server configuration (this is a hoax. It's not like the database is not enough. Ignore)

It would be nice to know that it is a memory overflow, because my configuration is the lowest, which should be the reason.

First of all, I'll try to restart the server. It still didn't work.

Where to restart the server

And then I'll search Google. Find a solution to the memory overflow, which can be solved after trying it out.

Modify the configuration file. Conf

Modify parameter fastcgi_send_timeout 300

Then check whether the domain name resolution is normal.

Domain name resolution

After confirmation, restart the environment, that is, restart Apache or other integrated environment, and solve it perfectly after access.

Thank you for your reading, the above is the content of "how to solve the website memory overflow error". After the study of this article, I believe you have a deeper understanding of how to solve the problem of website memory overflow error. the specific use also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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