On Thu, Mar 12, 2015 at 2:32 PM, John Goodyear <[email protected]> wrote:
> Hi
> I tried values upto one hour but downloads which took < 5 minds could still
> generate the timeout issue.
>
> It didn't feel right that I have to guess the maximum time it may take to
> download a file.

Are you writing to the file and then trying to send it?  Maybe you're
calling sendfile before it's finishing writing everything to the file
and sendfile is timing out on acquiring the file lock?  The fact that
it's an intermittent issue hints at some sort of race condition.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to