Old message: http://lists.unbit.it/pipermail/uwsgi/2012-October/004890.html

But the configs are a bit different - in my case, it's a pretty simple one
without fastrouter, just serving a single site on a dedicated tcp socket,
started via emperor. The error message is the same tho, we get tons of
"upstream
prematurely closed connection while reading response header from upstream",
as if the socket is improperly closed / processed killed, and the OS sends
a RST packet to nginx.


I haven't had the time yet to properly reproduce it and create a simple
test case and try to hack uwsgi myself a bit, so that's why I haven't asked
for anything else.

I've already found the relevant section, and at the first glance, it looks
fine - serve request, check signal, if should stop, die. We don't even run
with threads so that section is super simple. My first guess would be that
the "die" part may need either a sleep or a tiny flush and close socket
block added, but that experiment has to wait until my todo list is a bit
shorter.


Kind regards,

Chi Ho Kwok


On Wed, Jan 30, 2013 at 9:54 AM, Roberto De Ioris <[email protected]> wrote:

>
> > Same problem here, the few lines in the source looks okay, but it it sure
> > as hell isn't the zero error or loss reload in Apache. My last question
> to
> > this list was unanswered tho, I'm glad someone else has the same issue so
> > it's not only on my setup.
> >
> > Kind regards,
>
>
> Sorry, but which is your last question ? I have not found reference of
> your email in this list. Maybe it got lost ? Generally
> fastrouter-related/subscriptions thread are very interesting, so it is
> pretty strange no one answered.
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to