I too had similar issues and tried every possible tweak to get this to work
- sometimes it worth other times it did not.

The conclusion: Serving files from uwsgi into nginx is too fragile for
production use especially for 10GB+ files.

Using the x-accel-redirect with nginx was the only solution that worked -
it also saves lots of CPU time.



On Wed, Mar 18, 2015 at 9:45 AM, Roberto De Ioris <[email protected]> wrote:

>
> > Could you tell me what option i want to add in my uwsgi.ini file?
>
>
> This should give you a pretty complete view of static file serving
> optimizations:
>
> http://uwsgi-docs.readthedocs.org/en/latest/StaticFiles.html
>
>
> Remember the first rule: do not block your app for ages if your only
> purpose is serving a file (read: do not use django for serving the file)
>
>
> --
> Roberto De Ioris
> http://unbit.com
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to