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?
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
ok found actually quiet a lot of warnings about raising the levels of pm.start_servers & pm.max_children I will raise these and see how it goes
I raised a lot those values but still same problem. Some queries take ages to load and lead to server timeout.
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.