PHP-fpm (7.3) timeout/settings

Discussion in 'ISPConfig 3 Priority Support' started by Stelios, Apr 16, 2021.

  1. Stelios

    Stelios Active Member HowtoForge Supporter

    Hi all,
    I've got suddenly today very slow responses from the web server even though server load is very low (0.19-0.50).
    Many times it takes so much time to load the web sites which they time out.
    Restarting PHP-fpm makes them load fast for a few minutes, max an hour and then again the same.

    Logs on each site doesn't show something specific.

    Any idea how to troubleshoot this?
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Any pointers in the syslog? Have you done any customization to your configs?
  3. Stelios

    Stelios Active Member HowtoForge Supporter

    I haven't done anything Thom.
    What are the recommended values for a busy site on a large VM (32GB RAM, NvME etc)?

    PHP-FPM pm.max_children
    PHP-FPM pm.process_idle_timeout
    PHP-FPM pm.max_requests
  4. Stelios

    Stelios Active Member HowtoForge Supporter

    ok found actually quiet a lot of warnings about raising the levels of
    pm.start_servers &

    I will raise these and see how it goes
  5. Stelios

    Stelios Active Member HowtoForge Supporter

    I raised a lot those values but still same problem. Some queries take ages to load and lead to server timeout.
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is your name service working properly, i.e. it answers fast?
    Monitor performance, commands htop, iotop, free -h, dstat, vmstat, there are more ...
    Test network, or test from local client and remote client.
    Read all the recent log files.

Share This Page