SIGPIPE error in uwsgi log
When 12 devices are connected to the KoomBook (pulling http://ideascube.lan every 6s) uwsgi loose control and start giving these errors.
Nginx return 502 bad gateway on it side.
switches on core 0)
Tue Oct 4 10:34:15 2016 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /fr/mediacenter/ (ip 192.168.2.212) !!!
Tue Oct 4 10:34:15 2016 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 287] during GET /fr/mediacenter/ (192.168.2.212)
OSError: write error
[pid: 6661|app: 0|req: 186/690] 192.168.2.212 () {44 vars in 875 bytes} [Tue Oct 4 10:34:14 2016] GET /fr/mediacenter/ => generated 0 bytes in 1747 msecs (HTTP/1.1 200) 5 headers in 0 bytes (0 switches on core 0)
Tue Oct 4 10:34:15 2016 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /fr/mediacenter/ (ip 192.168.2.115) !!!
Tue Oct 4 10:34:15 2016 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 287] during GET /fr/mediacenter/ (192.168.2.115)
OSError: write error
[pid: 6660|app: 0|req: 224/691] 192.168.2.115 () {46 vars in 807 bytes} [Tue Oct 4 10:34:14 2016] GET /fr/mediacenter/ => generated 0 bytes in 1742 msecs (HTTP/1.1 200) 5 headers in 0 bytes (0 switches on core 0)
Tue Oct 4 10:34:16 2016 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /fr/mediacenter/ (ip 192.168.2.214) !!!
Tue Oct 4 10:34:16 2016 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 287] during GET /fr/mediacenter/ (192.168.2.214)
OSError: write error
[pid: 6659|app: 0|req: 154/692] 192.168.2.214 () {44 vars in 875 bytes} [Tue Oct 4 10:34:14 2016] GET /fr/mediacenter/ => generated 0 bytes in 1744 msecs (HTTP/1.1 200) 5 headers in 0 bytes (0 switches on core 0)
I'll try to tweak Nginx/Uwsgi to avoid this kind of error