什么是php-fpm警告"未能获得记分牌"?

时间:2014-10-08 11:25:00

标签: php

什么是php-fpm警告"未能获得记分牌"在fpm错误日志?

tail -f /var/log/php-fpm.log
[08-Oct-2014 03:36:36] WARNING: failed to acquire scoreboard
[08-Oct-2014 03:40:39] WARNING: failed to acquire scoreboard
[08-Oct-2014 03:42:54] WARNING: failed to acquire scoreboard
[08-Oct-2014 03:47:01] WARNING: failed to acquire scoreboard

用例:

php version 5.4.25

php-fpm实例说' pf-9000'连接到第二个php-fpm实例说' pf-9005'在同一台服务器上使用fastcgi协议。 这两个php-fpm实例都可以看到错误。

请求流程:

web client -> nginx -> pf-9000 -> pf-9005

回应流程:

pf-9005 -> pf-9000 -> nginx -> web client

1 个答案:

答案 0 :(得分:0)

记分板是一种保存FPM池及其工作线程状态的结构。它是在共享内存中创建的,如果无法分配该内存,an error is logged