Hi, team. I use gunicorn with gevent to launch django app gunicorn --workers 20 -k gevent myproject.wsgi.
But it always report socket: read error Connection reset by peer sock.c:635: Connection reset by peer when I usesiege -c 200 -r 1 http://127.0.0.1:8000/ioTask/ -v to test 200 concurrent requests for my app.
As shown in the test results(Only 65% request successfully) below, it means those requests fail. How do I fix it?
BTW, It still not work when I increase --backlog...
Hi, team. I use gunicorn with gevent to launch django app
gunicorn --workers 20 -k gevent myproject.wsgi
. But it always reportsocket: read error Connection reset by peer sock.c:635: Connection reset by peer
when I usesiege -c 200 -r 1 http://127.0.0.1:8000/ioTask/ -v
to test 200 concurrent requests for my app.As shown in the test results(Only 65% request successfully) below, it means those requests fail. How do I fix it?
BTW, It still not work when I increase
--backlog
...Env: