New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
polling fails on uwsgi_simple_wait_read_hook #1233
Comments
Thanks for uWSGI. |
Backported from master branch into -2.0 in b5ece04 , thanks. |
I got this error from the log:
1456612568.000000 Feb 27 22:36:08 uwsgi DEBUG uwsgi_simple_wait_read_hook()/poll(): Interrupted system call core/reader.c line 21
1456612568.000000 Feb 27 22:36:08 uwsgi DEBUG [uwsgi-body-read] Error reading 3276800 bytes. Content-Length: 16858218496 consumed: 1942880256 left: 14915338240 message: Interrupted system call (/usr/bin/uwsgi:0)
1456612568.000000 Feb 27 22:36:08 uwsgi DEBUG 1456612568.600(41080uWSGIWorker4Core0):ERROR:Failed to write to device: error during read(4194304) on wsgi.input
From looking at the code here: https://github.com/unbit/uwsgi/blob/master/core/reader.c#L20
I think that the code should check if the error is EINTR and retry polling and not fail the request
What do you think?
The text was updated successfully, but these errors were encountered: