> Yes, I am going to serve the file via uWSGI+python.
>
> Here is the uWSGI error log:
>
> Tue Mar 17 15:11:32 - uwsgi_response_write_body_do() TIMEOUT !!!
> IOError: write error
> [pid: 20012|app: 0|req: 5/9] 10.177.7.30 () {46 vars in 927 bytes} [Tue
> Mar
> 17 15:06:41 2015] POST /cdcontent/ => generated 1073954816 bytes in 291031
> msecs (HTTP/1.1 200) 5 headers in 194 bytes (133087 switches on core 0)
>
> This is my "uwsgi.ini" file
>
>


Leaving your process blocked while serving a static file is a waste of
resources. Uses one of the uWSGI file serving facilities (offloading
mainly). You could eventually increase the socket timeout (default is 4
seconds that could not be enough if your network stack is stuck)

-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to