What are the possible reasons why nginx+php-fpm causes slow website access?
高洛峰
高洛峰 2017-05-16 13:16:07
0
2
620

Changed to a new server, and now accessing the website is extremely slow. What are the possible causes?

The current actual situation is that the php parsing process is very busy when it is connected to the php parsing process.
The php parsing process is also very busy when it is connected to the database.
This causes high load. The intranet loopback port is very busy, more than 100M

The program has not been changed, and the number of visits has not changed in any curve.

What are the general aspects to troubleshoot errors?

  • Server hardware problem?

  • php-fpm configuration problem?

  • other problems?

fascgi related parameters are

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
滿天的星座

Let’s talk about other problems that may cause the website to slow down in addition to hardware:
1. Code infinite loop.
2. There are slow queries in the database.
3. The number of website visits (which may be attacked) is too large and exceeds the bandwidth limit.

仅有的幸福

The environment has been rebuilt. Have the database indexes been rebuilt? Have you migrated the caching solution you used before? Look at the log?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template