PHP 7.0 FPM - 等待可用的套接字 chrome

PHP 7.0 FPM - 等待可用的套接字 chrome

我的 nginx + php 7.0 FPM 有问题。Chrome 仍然在“等待可用的套接字 chrome”上阻塞。如果我重新启动 php,我就可以登录到我的应用程序,然后“等待可用的套接字 chrome”。我检查了 /var/log/php7.0-fpm.log:

[12-Mar-2017 20:48:29] NOTICE: fpm is running, pid 1088
[12-Mar-2017 20:48:29] NOTICE: ready to handle connections
[12-Mar-2017 20:48:29] NOTICE: systemd monitor interval set to 10000ms
[12-Mar-2017 21:15:52] NOTICE: fpm is running, pid 1121
[12-Mar-2017 21:15:52] NOTICE: ready to handle connections
[12-Mar-2017 21:15:52] NOTICE: systemd monitor interval set to 10000ms
[12-Mar-2017 21:16:02] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[12-Mar-2017 22:29:25] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[13-Mar-2017 09:26:21] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[13-Mar-2017 14:58:56] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it

我按照这个指南来调整我的价值观:https://myshell.co.uk/blog/2012/07/adjusting-child-processes-for-php-fpm-nginx/但我仍然遇到同样的问题。

我不知道该怎么办。

Debian 8 PHP 7.0.16-3+0~20170222101552.24+jessie~1.gbpb3eec3 (cli)(构建时间:2017 年 2 月 22 日 10:30:30)(NTS)版权所有 (c) 1997-2017 The PHP Group Zend Engine v3.0.0,版权所有 (c) 1998-2017 Zend Technologies 与 Zend OPcache v7.0.16-3+0~20170222101552.24+jessie~1.gbpb3eec3,版权所有 (c) 1999-2017,由 Zend Technologies 提供

nginx 版本:nginx/1.10.3

相关内容