Django + uwsgi + nginx断管

时间:2018-10-24 15:07:47

标签: python django nginx uwsgi

我正在与JMeter进行压力测试,并与200个用户并发,我在uwsgi.log中遇到此错误:

Wed Oct 24 09:40:50 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET

nginx错误日志中的错误:

connect() to unix:/var/run/app.sock failed (11: Resource temporarily unavailable) while connecting to upstream, server: domain.com, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/var/run/bbrainers.sock:"

服务器如何支持200个以上的并发用户? 我认为这可能是错误的配置...

0 个答案:

没有答案