Welcome! Log In Create A New Profile

Advanced

nginx 1.2.7 + php-fpm 5.3.21 отваливается обработка php

Posted by bagas 
nginx 1.2.7 + php-fpm 5.3.21 отваливается обработка php
February 23, 2013 09:49AM
Добрый день.
С праздником мужики!

Подскажите по такому вопросу, заметил на одном из моих проектов отваливается обработка php, вылетает 502 ошибка.

использую Debian
uname -r
2.6.32-5-686-bigmem

nginx -v
nginx version: nginx/1.2.7

PHP 5.3.21

Связка nginx + php-fpm

Так вот отваливается через неткорое время обработка скриптом, примерно после 3-5 дней работы.

Логи говорят об таком.
php-fpm.log

[23-Feb-2013 18:21:20] NOTICE: [pool www] child 25861 started
[23-Feb-2013 18:21:23] WARNING: [pool www] child 25851, script '/home/ext/web/fly.ru/web/index.php' (request: "GET ") execution timed out (12.198595 sec), terminating
[23-Feb-2013 18:21:23] WARNING: [pool www] child 25850, script '/home/ex/web/fas.ru/web/index.php' (request: "GET ") execution timed out (10.301076 sec), terminating
[23-Feb-2013 18:21:23] WARNING: [pool www] child 25847, script '/home/ex/web/fas.ru/web/index.php' (request: "GET ") execution timed out (12.202945 sec), terminating
[23-Feb-2013 18:21:23] WARNING: [pool www] child 25847 exited on signal 15 (SIGTERM) after 20.017297 seconds from start
[23-Feb-2013 18:21:23] NOTICE: [pool www] child 25864 started
[23-Feb-2013 18:21:23] WARNING: [pool www] child 25850 exited on signal 15 (SIGTERM) after 16.680848 seconds from start
[23-Feb-2013 18:21:23] NOTICE: [pool www] child 25865 started
[23-Feb-2013 18:21:23] WARNING: [pool www] child 25851 exited on signal 15 (SIGTERM) after 16.681246 seconds from start
[23-Feb-2013 18:21:23] NOTICE: [pool www] child 25866 started
qz[23-Feb-2013 18:21:26] WARNING: [pool www] child 25855, script '/home/ex/web/fas.ru/web/index.php' (request: "GET ") execution timed out (12.989867 sec), terminating
[23-Feb-2013 18:21:26] WARNING: [pool www] child 25852, script '/home/ex/web/fas.ru/web/index.php' (request: "GET ") execution timed out (13.068281 sec), terminating
[23-Feb-2013 18:21:26] WARNING: [pool www] child 25852 exited on signal 15 (SIGTERM) after 16.680832 seconds from start
[23-Feb-2013 18:21:26] NOTICE: [pool www] child 25889 started
[23-Feb-2013 18:21:26] WARNING: [pool www] child 25855 exited on signal 15 (SIGTERM) after 15.290392 seconds from start
[23-Feb-2013 18:21:26] NOTICE: [pool www] child 25890 started


Лог NGINX

2013/02/23 18:20:33 [error] 21087#0: *666062 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 173.199.119.139, server: fas.ru, request: "GET /djer HTTP/1.1", upstream: "fastcgi://unix:/tmp/fastcgi.socket:", host: "fas.ru"

После рестарта php-fpm все номализуется.

Подскажите пожалуйста, что я упустил.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready