0

I have a php-fpm server running on a high-traffic website (behind nginx). It is frequently reaching a point where the active processes are equal to the maximum number of processes, which is the most that the server's memory will allow.

When this happens it can take 5 - 10 seconds to load the php-fpm status page. It appears that the request is being queued. However the listen queue value always shows 0.

Why wouldn't this report the correct value?

user29745
  • 159
  • 1
  • 7
  • Because the connection is being queued elsewhere? – Michael Hampton Jan 03 '19 at 21:38
  • Any possible ways to identify this, given that nginx is communicating with php-fpm over unix sockets? – user29745 Jan 04 '19 at 22:58
  • Do some [custom logging](https://nginx.org/en/docs/http/ngx_http_log_module.html#log_format) with the various [`$upstream_*_time`](https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_connect_time) variables. – Michael Hampton Jan 04 '19 at 23:05

0 Answers0