> On Wed, Sep 16, 2015 at 3:42 PM, Руслан Закиров <[email protected]> wrote: > >> How do you manage the fallback in nginx ? >> >> >> In the above case it's error_document directive. In the case I started >> from two requests was not related to each other - just two request >> coming >> from different users happens to hit the same back-end. >> >> Can you report its configuration ? >>> >> >> As I was able to reproduce the problem in a test env. I want to try to >> reproduce it without nginx by hitting uwsgi port directly. >> > > it's not nginx. > > ... > EXTENDED INFO: > uri: /test.html with args:$VAR1 = {}; > > > Wed Sep 16 15:50:43 2015 - *** HARAKIRI ON WORKER 1 (pid: 15719, try: 1) > *** > Wed Sep 16 15:50:43 2015 - HARAKIRI: -- wchan> hrtimer_nanosleep > Wed Sep 16 15:50:43 2015 - HARAKIRI !!! worker 1 status !!! > Wed Sep 16 15:50:43 2015 - HARAKIRI [core 0] 127.0.0.1 - GET /test.html > since 1442407839 > Wed Sep 16 15:50:43 2015 - HARAKIRI !!! end of worker 1 status !!! > Wed Sep 16 15:50:44 2015 - DAMN ! worker 1 (pid: 15719) died, killed by > signal 9 :( trying respawn ... > Wed Sep 16 15:50:44 2015 - Respawned uWSGI worker 1 (new pid: 15807) > Sports INFO [Wed Sep 16 15:50:47 2015] (RU) pid: 15807 package: > MakeIdea::FW::System::Logger line: 209 message: {{ Begin request > processing > /test.html,%20/test.html }} > EXTENDED INFO: > uri: /test.html,%20/test.html with args:$VAR1 = {}; > > Used curl talking directly to PSGI app: > > curl -v -H 'Host: www.sports.ru' 'http://127.0.0.1:9000/test.html' > * About to connect() to 127.0.0.1 port 9000 (#0) > * Trying 127.0.0.1... connected >> GET /test.html HTTP/1.1 >> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 > OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 >> Accept: */* >> Host: www.sports.ru >> > * Empty reply from server > * Connection #0 to host 127.0.0.1 left intact > curl: (52) Empty reply from server > * Closing connection #0 > ruz@d-ruz:~$ curl -v -H 'Host: www.sports.ru' ' > http://127.0.0.1:9000/test.html' > * About to connect() to 127.0.0.1 port 9000 (#0) > * Trying 127.0.0.1... connected >> GET /test.html HTTP/1.1 >> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 > OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 >> Accept: */* >> Host: www.sports.ru >> > < HTTP/1.1 404 Not Found > < Content-Type: text/html > * no chunk, no close, no size. Assume close to signal end > < > * Closing connection #0 > >
It is not clear to me, if the REQUEST_URI you are reporting is from MakeIdea::FW::System::Logger or from uWSGI request logs. What uWSGI request logs are reporting ? -- Roberto De Ioris http://unbit.com _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
