We have uwsgi/pgadmin running in a Docker container. Apache HTTPD runs on the host machine and proxies requests to uwsgi via wsgi protocol.
ProxyPass / uwsgi://localhost:8280/ ProxyPassReverse / uwsgi://localhost:8280/ For small queries with small return data sets, everything works great. However, on larger queries with large return data sets we have issues: httpd-2.4.6-45 uWSGI==2.0.14 We had to max out buffer size due to the large query strings users are submitting because they are sent as URL parameters. pertinent uwsgi options: --processes=1 --buffer-size=65535 uWsgi ERROR (not clear if this is on full data return or not): Thu Feb 23 16:43:30 2017 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /sqleditor/poll/4682126 (ip 104.34.239.40) !!! Thu Feb 23 16:43:30 2017 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 331] during GET /sqleditor/poll/4682126 (104.34.239.40) IOError: write error Generic HTTPD Error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</p> <p>More information about this error may be available in the server error log.</p> <hr> <address>Apache Server at server.domain.com Port 443</address> </body></html>
_______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi