Welcome! Log In Create A New Profile

Advanced

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

October 15, 2009 09:14AM
> > Пускалка php-cgi
> > /usr/bin/spawn-fcgi -P
> /data/www/fcgi/sock_fcgi.pid
> > -s /tmp/.fcgi/fcgi.sock -C 4 -u vuser -f
> /usr/bin/php-cgi
>
> Посмотри не падают ли
> воркеры. В линухе
> kernel.print-fatal-signals = 1
> поможет

Включил, спасибо за совет.
Сделал сравнение по логам.
Во время появления в логе nginx ошибки:
2009/10/15 09:01:56 [error] 25381#0: *3748279 readv() failed (104: Connection reset by peer) while reading upstream

ядро рапортует о SIGSEGV php-cgi

Oct 15 09:01:56 thea kernel: php-cgi/31189: potentially unexpected fatal signal 11.
Oct 15 09:01:56 thea kernel: code at 081e67e4: 3b 50 0c 75 c0 8b 4d d0 3b 51 08 75 b8 8b 45 cc
Oct 15 09:01:56 thea kernel:
Oct 15 09:01:56 thea kernel: Pid: 31189, comm: php-cgi
Oct 15 09:01:56 thea kernel: EIP: 0073:[<081e67e4>] CPU: 0
Oct 15 09:01:56 thea kernel: EIP is at 0x81e67e4
Oct 15 09:01:56 thea kernel: ESP: 007b:bfe2f830 EFLAGS: 00010202 Tainted: G M (2.6.18-92.1.22.el5PAE #1)
Oct 15 09:01:56 thea kernel: EAX: 00000000 EBX: 08327c48 ECX: 00000000 EDX: 087d4fec
Oct 15 09:01:56 thea kernel: ESI: 083a1770 EDI: 00000000 EBP: bfe2f878 DS: 007b ES: 007b
Oct 15 09:01:56 thea kernel: CR0: 8005003b CR2: 0000000c CR3: 37db25e0 CR4: 000006f0
Oct 15 09:01:56 thea kernel: =======================

Является ли это главной причиной 502 Bad Gateway?
В какую сторону смотреть дальше? Собирать PHP с поддержкой дебаг символов или сразу обновляться?
Subject Author Posted

nginx 0.6.39/php-5.2.5 FastCGI: периодически выпадает 502 Bad Gateway

dannym October 15, 2009 07:20AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Executier Godlike October 15, 2009 08:06AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

dannym October 15, 2009 09:14AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Executier Godlike October 15, 2009 09:38AM

Re[2]: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Denis F. Latypoff October 15, 2009 09:56AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Executier Godlike October 15, 2009 11:04AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Шестопалов Сергей October 17, 2009 09:06AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

milordk September 12, 2010 03:04AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

dannym October 15, 2009 10:46AM

Re: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Olexander Shtepa October 15, 2009 11:30AM

Re[2]: nginx 0.6.39/php-5.2.5 FastCGI: ________________________ ________________ 502 Bad Gateway

Sergey Bondari October 15, 2009 09:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 342
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready