NGINX / WP / PHP-FPM 499响应突发导致max_children问题

时间:2018-01-24 00:50:20

标签: php wordpress nginx

寻求帮助调查和隔离,TIA

如果您需要其他信息(如配置值)

,请与我们联系

每隔几天,从一个(已知的好)IP地址充斥我的服务器(一个非常具体的WP主页),所有响应代码都是499.

访问日志看起来像是来自Chrome,并且以每秒6次的速度进入,直到达到max_children限制,之后我必须重新启动PHP-FPM。然后很长一段时间都很安静,直到它再次发生。

PHP错误日志不显示任何内容。在此之前和期间,它实际上是空的很长时间(这很奇怪)。

我确实在我的监控服务上看到了与MySQL相关的内容,只是在它发生爆发时,但我不确定它是否与原因或症状相关或会导致499响应代码:

E_WARNING: Error while sending QUERY packet. PID=2990

in mysqli_query called at /wp-includes/wp-db.php (1931)
…pdb::_do_query called at /wp-includes/
wp-db.php (1820)
in wpdb::query called at /wp-includes/wp-db.php (2420)
…wpdb::get_row called at /wp-includes/
option.php (98)
…/wp-content/plugins/wp-user-avatar/includes/
wpua-globals.php (45)
…ww/html/wp-content/plugins/wp-user-avatar/
wp-user-avatar.php (77)
…ww/html/wp-content/plugins/wp-user-avatar/
wp-user-avatar.php (33)
…ww/html/wp-content/plugins/wp-user-avatar/
wp-user-avatar.php (97)
in include_once called at /wp-settings.php (305)
in require_once called at /wp-config.php (119)
in require_once called at /wp-load.php (37)
in require_once called at /wp-blog-header.php (13)
in require called at /index.php (17)

我找不到这个:(

0 个答案:

没有答案