{"action":"created","issue":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/1090","repository_url":"https://api.github.com/repos/benoitc/gunicorn","labels_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1090/comments","events_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1090/events","html_url":"https://github.com/benoitc/gunicorn/issues/1090","id":98214485,"number":1090,"title":"BlockingIOError on Docker","user":{"login":"dbrgn","id":105168,"avatar_url":"https://avatars.githubusercontent.com/u/105168?v=3","gravatar_id":"","url":"https://api.github.com/users/dbrgn","html_url":"https://github.com/dbrgn","followers_url":"https://api.github.com/users/dbrgn/followers","following_url":"https://api.github.com/users/dbrgn/following{/other_user}","gists_url":"https://api.github.com/users/dbrgn/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrgn/subscriptions","organizations_url":"https://api.github.com/users/dbrgn/orgs","repos_url":"https://api.github.com/users/dbrgn/repos","events_url":"https://api.github.com/users/dbrgn/events{/privacy}","received_events_url":"https://api.github.com/users/dbrgn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benoitc/gunicorn/labels/Feedback%20Requested","name":"Feedback Requested","color":"ffb114"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2015-07-30T16:48:11Z","updated_at":"2016-10-21T13:43:41Z","closed_at":"2015-12-11T19:47:49Z","body":"I'm running Docker on Ubuntu VM on a XenCenter server.\r\n\r\nOne of my Flask apps using Gunicorn (directly, not behind Nginx) doesn't seem to work on that server. It works in Docker locally, but on the server I get the following exceptions:\r\n\r\n```\r\n[2015-07-30 16:41:52 +0000] [13] [ERROR] Socket error processing request.\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/site-packages/gunicorn/workers/sync.py\", line 130, in handle\r\n    self.handle_request(listener, req, client, addr)\r\n  File \"/usr/local/lib/python3.4/site-packages/gunicorn/workers/sync.py\", line 187, in handle_request\r\n    six.reraise(exc_info[0], exc_info[1], exc_info[2])\r\n  File \"/usr/local/lib/python3.4/site-packages/gunicorn/six.py\", line 625, in reraise\r\n    raise value\r\n  File \"/usr/local/lib/python3.4/site-packages/gunicorn/workers/sync.py\", line 174, in handle_request\r\n    resp.write_file(respiter)\r\n  File \"/usr/local/lib/python3.4/site-packages/gunicorn/http/wsgi.py\", line 411, in write_file\r\n    self.sendfile_all(fileno, self.sock.fileno(), fo_offset, nbytes)\r\n  File \"/usr/local/lib/python3.4/site-packages/gunicorn/http/wsgi.py\", line 365, in sendfile_all\r\n    sent += sendfile(sockno, fileno, offset + sent, nbytes - sent)\r\nBlockingIOError: [Errno 11] Resource temporarily unavailable\r\n```\r\n\r\nI'm not sure what exactly is causing the problem, but it doesn't seem to happen when using the devserver (in the same Docker setup)."},"comment":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/comments/255380471","html_url":"https://github.com/benoitc/gunicorn/issues/1090#issuecomment-255380471","issue_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1090","id":255380471,"user":{"login":"pmayer","id":1263806,"avatar_url":"https://avatars.githubusercontent.com/u/1263806?v=3","gravatar_id":"","url":"https://api.github.com/users/pmayer","html_url":"https://github.com/pmayer","followers_url":"https://api.github.com/users/pmayer/followers","following_url":"https://api.github.com/users/pmayer/following{/other_user}","gists_url":"https://api.github.com/users/pmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/pmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmayer/subscriptions","organizations_url":"https://api.github.com/users/pmayer/orgs","repos_url":"https://api.github.com/users/pmayer/repos","events_url":"https://api.github.com/users/pmayer/events{/privacy}","received_events_url":"https://api.github.com/users/pmayer/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T13:43:41Z","updated_at":"2016-10-21T13:43:41Z","body":"I'm having the same issue with django and gunicorn in docker. It happens roughly once a day and I don't really know how to reproduce it."}}
{"actor":{"display_login":"pmayer"}}