Welcome! Log In Create A New Profile

Advanced

Re: Weird issue between backend and upstream (0 bytes)

August 09, 2012 11:12AM
Hi Maxim! Thanks for taking time to check it out...

So the 499 seen by the php-fpm nginx here It's not that main nginx closed
the connection but that fastcgi closed the connection?

All the time thought was nothing to do with the backend... there's no php
warning or error on the php-fpm side when this happens, will try to enable
debug mode in php-fpm and swim around the logs....

Thanks!



> 2012/08/03 13:56:17 [debug] 1519#0: *221 finalize http upstream request:
499



On Thu, Aug 9, 2012 at 11:15 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Thu, Aug 09, 2012 at 10:24:51AM -0300, Guzmán Brasó wrote:
>
> > Just made myself of a dump from the backend perspective and analized with
> > wireshark to see what were on those bytes, I was pretty sure those bytes
> > were some error from the app with the key to fix it.... but no, those
> 15776
> > bytes are always 15776 but the first 15776 of every request, so every
> > request is different.
> >
> > According to tcpdump everything flows OK and after one common ack from
> > upstream while backend sends data, upstream inmediatly sends the FIN
> flag
> > and inmediatly after that a group of RST arrive.
>
> This might be a result of several first packets (e.g. initial
> buffer size) being sent before app crashes somewhere at the end of
> response generation. Have you tried to look what happens from
> the app's point of view?
>
> [...]
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
Guzmán Brasó Núñez
Senior Perl Developer / Sysadmin
Web: http://guzman.braso.info
Mobile: +598 98 674020
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Weird issue between backend and upstream (0 bytes)

valor August 03, 2012 01:50PM

Re: Weird issue between backend and upstream (0 bytes)

Martin Loy August 09, 2012 12:56AM

Re: Weird issue between backend and upstream (0 bytes)

valor August 09, 2012 09:26AM

Re: Weird issue between backend and upstream (0 bytes)

Maxim Dounin August 09, 2012 10:16AM

Re: Weird issue between backend and upstream (0 bytes)

valor August 09, 2012 11:12AM

Re: Weird issue between backend and upstream (0 bytes)

Maxim Dounin August 09, 2012 02:28PM

Re: Weird issue between backend and upstream (0 bytes)

valor August 09, 2012 03:08PM

Re: Weird issue between backend and upstream (0 bytes)

valor August 09, 2012 03:14PM

Re: Weird issue between backend and upstream (0 bytes)

Maxim Dounin August 10, 2012 05:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready