The page you are looking for is temporarily unavailable.“Nginx日志包含到下面的行。92.10.214.1, server: server.com, request: "POST /admin/hdduyuru/duyurular/add/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:1235", host
我在uwsgi后面运行了一个python应用程序。下面是我用来启动应用程序的脚本。如您所见,脚本中有--enable-threads标志。基于uwsgi文档,它说:If you want to maintain Python threads support without starting multiple threads for youruwsgi \ --master \ --http
问题是:当一个worker刚刚重启/启动时,它收到的第一个请求在uWSGI和NGINX之间保持挂起,flask应用程序内部的处理时间是正常的并且非常快,但是客户端等待直到uwsgi_send_timeout您可以在时间列中看到它挂起了300秒(uwsgi_send_timeout),即使HTTP请求已经被NGINX...uWSGI只是不发送FIN数据包来表示连接已关闭。= truecache2 = name=xxx,items=1024
# Had to incr