Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api?id=f61ccad6-3cd0-48b1-a357-f86c3447b8e9
OSError: write error
Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api?id=24304054-6d2e-4af5-b475-f06bb49b79ce
OSError: write error
Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api/?id=b6d7184a-bd76-4752-b8b1-339337dde962
OSError: write error
Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api?id=011ff7e5-5a93-4ed0-ac2b-40e2f09af9e7
Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api
OSError: write error
Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api
OSError: write error
Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api
OSError: write error
Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api
OSError: write error
I used jmeter to pressure test 100 threads and ran for 1 minute
1. my conf
[uwsgi] chdir=/rooms home=/rooms/venv module=manager callable=app master=true processes=8 http-socket = :8089 chmod-socket=666 buffer-size=65535 http-timeout=60 pidfile=api.pid chmod-socket=777 logfile-chmod=666 daemonize=/logs/api.log disable-logging=true enable-threads=true listen=30000 max-requests = 50000 gevent=100
ignore-write-errors = true
ignore-sigpipe=true
disable-write-exception = true
disable-async-warn-on-queue-full=true
procname=server-worker procname-master=server-master log-level = debug logdate=true pcre-jit=true thunder-lock = true harakiri=600 harakiri-verbose=true post-buffering=32768 post-buffering-bufsize=32768 body-read-warning=1048576 socket-timeout=30 so-keepalive=true http-keepalive=true
2. error:
Wed Jun 09 14:42:59 2024 - uwsgi_response_write_body_do() TIMEOUT !!! OSError: write error Wed Jun 09 14:43:10 2024 - uwsgi_response_write_body_do() TIMEOUT !!! OSError: write error Wed Jun 09 14:43:19 2024 - uwsgi_response_write_body_do() TIMEOUT !!! OSError: write error
Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api?id=f61ccad6-3cd0-48b1-a357-f86c3447b8e9 OSError: write error Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api?id=24304054-6d2e-4af5-b475-f06bb49b79ce OSError: write error Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api/?id=b6d7184a-bd76-4752-b8b1-339337dde962 OSError: write error Wed Jun 09 14:42:49 2024 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /api?id=011ff7e5-5a93-4ed0-ac2b-40e2f09af9e7
Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api OSError: write error Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api OSError: write error Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api
OSError: write error Wed Jun 09 14:42:48 2024 - uwsgi_response_writev_headers_and_body_do(): Connection reset by peer [core/writer.c line 306] during GET /api OSError: write error