search

Home  >  Q&A  >  body text

What are the possible reasons why nginx+php-fpm causes slow website access?

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?

fascgi related parameters are

高洛峰高洛峰2747 days ago588

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 13:18:07

    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.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 13:18:07

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

    reply
    0
  • Cancelreply