admin管理员组文章数量:1221301
My team is using PHP-FPM, configured statically with a max of 32 processes, in a Kubernetes cluster. We're autoscaling based on PHP-FPM metrics, and there are many replicas. I'm frequently (i.e. on all replicas) seeing the PHP-FPM status show queued connections, even though the max active processes is below total processes. For example:
pool: www
process manager: static
start time: 06/Feb/2025:17:37:07 +0000
start since: 80556
accepted conn: 265772
listen queue: 0
max listen queue: 2
listen queue len: 511
idle processes: 27
active processes: 5
total processes: 32
max active processes: 21
max children reached: 0
slow requests: 0
Note that the max active processes is 21 of the 32 available, but that the listen queue has reached 2. Why are connections being queued when there are idle processes?
版权声明:本文标题:Why does PHP-FPM queue connections when max active processes is less than total processes - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739287979a2156555.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论