php-fpm nginx超时错误

时间:2017-08-09 03:23:22

标签: php symfony docker nginx

我有一个问题,我已经挣扎了几天。

我使用php-fpm和nginx设置了一个使用docker-compose设置的symfony2项目。突然,当我访问项目的特定页面时,我的本地计算机开始计时。

这是php-fpm日志:

[09-Aug-2017 05:05:27] NOTICE: fpm is running, pid 1
[09-Aug-2017 05:05:27] NOTICE: ready to handle connections
[09-Aug-2017 05:05:51] WARNING: [pool www] child 7, script '/var/www/html/web/app_dev.php' (request: "GET /app_dev.php") executing too slow (2.226379 sec), logging
[09-Aug-2017 05:05:51] NOTICE: child 7 stopped for tracing
[09-Aug-2017 05:05:51] NOTICE: about to trace 7
[09-Aug-2017 05:05:51] ERROR: failed to open /proc/7/mem: Permission denied (13)
[09-Aug-2017 05:05:51] NOTICE: finished trace of 7
[09-Aug-2017 05:10:41] WARNING: [pool www] child 9, script '/var/www/html/web/app_dev.php' (request: "GET /app_dev.php") executing too slow (2.247990 sec), logging
[09-Aug-2017 05:10:41] NOTICE: child 9 stopped for tracing
[09-Aug-2017 05:10:41] NOTICE: about to trace 9
[09-Aug-2017 05:10:41] ERROR: failed to open /proc/9/mem: Permission denied (13)
[09-Aug-2017 05:10:41] NOTICE: finished trace of 9
[09-Aug-2017 05:12:41] WARNING: [pool www] child 11, script '/var/www/html/web/app_dev.php' (request: "GET /app_dev.php") executing too slow (2.494645 sec), logging
[09-Aug-2017 05:12:41] NOTICE: child 11 stopped for tracing
[09-Aug-2017 05:12:41] NOTICE: about to trace 11
[09-Aug-2017 05:12:41] ERROR: failed to open /proc/11/mem: Permission denied (13)
[09-Aug-2017 05:12:41] NOTICE: finished trace of 11

任何人都可以指出我正确的方向。

0 个答案:

没有答案