Public bug reported:
Hello,
We encounter tracebacks in gunicorn-error.log when a client download a
“not modified” page:
gunicorn-error.log <==
2015-06-16 11:39:00 [5565] [ERROR] Socket error processing request.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gunicorn/workers/async.py", line
42, in handle
req = six.next(parser)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/parser.py", line 39,
in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.req_count)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line
152, in __init__
super(Request, self).__init__(cfg, unreader)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line
49, in __init__
unused = self.parse(self.unreader)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line
164, in parse
self.get_data(unreader, buf, stop=True)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line
155, in get_data
data = unreader.read()
File "/usr/lib/python2.7/dist-packages/gunicorn/http/unreader.py", line
38, in read
d = self.chunk()
File "/usr/lib/python2.7/dist-packages/gunicorn/http/unreader.py", line
65, in chunk
return self.sock.recv(self.mxchunk)
File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 251, in
recv
return fd.recv(buflen, flags)
File "/usr/lib/python2.7/socket.py", line 170, in _dummy
raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
This problem is reported and fixed upstream
(https://github.com/benoitc/gunicorn/issues/630).
Is it possible to backport the patch?
Regards.
Description: Ubuntu 14.04.3 LTS
Release: 14.04
** Affects: gunicorn (Ubuntu)
Importance: Undecided
Status: New
** Tags: trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1517397
Title:
Gunicorn traceback when downloading “not modified” page
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gunicorn/+bug/1517397/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs