{"action":"created","issue":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/1186","repository_url":"https://api.github.com/repos/benoitc/gunicorn","labels_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1186/comments","events_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1186/events","html_url":"https://github.com/benoitc/gunicorn/issues/1186","id":127954557,"number":1186,"title":"gunicorn worker unexpected time out when streaming","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benoitc/gunicorn/labels/Feature/Worker","name":"Feature/Worker","color":"fad8c7"},{"url":"https://api.github.com/repos/benoitc/gunicorn/labels/Investigation","name":"Investigation","color":"eb6420"},{"url":"https://api.github.com/repos/benoitc/gunicorn/labels/Thirdparty/Gevent","name":"Thirdparty/Gevent","color":"fad8c7"},{"url":"https://api.github.com/repos/benoitc/gunicorn/labels/Unconfirmed","name":"Unconfirmed","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-01-21T15:50:05Z","updated_at":"2016-04-11T16:57:44Z","closed_at":null,"body":"I have Django app using StreamingHttpResponse that fails when gunicorn worker unexpectedly times out. For testing purpose I deployed it on CentOS 7 using nginx (Django-1.8.8, gevent-1.0.2 greenlet-0.4.9), gevent async workers (``proxy_buffering off``):\r\n\r\n```\r\ngunicorn -D -p /path/to/django.pid --bind 127.0.0.1:8000 --workers 2 -k gevent --worker-connections 100 myapp.wsgi:application\r\n```\r\n\r\ngunicorn log:\r\n\r\n```\r\n[2016-01-21 15:12:34 +0000] [30333] [INFO] Listening at: ...\r\n[2016-01-21 15:12:34 +0000] [30333] [INFO] Using worker: gevent\r\n...\r\n[2016-01-21 15:14:22 +0000] [30338] [DEBUG] GET /webclient/keepalive_ping/\r\n[2016-01-21 15:14:22 +0000] [30338] [DEBUG] Closing connection. \r\n[2016-01-21 15:14:24 +0000] [30343] [DEBUG] GET /webgateway/archived_files/download/1/\r\n...\r\n[2016-01-21 15:15:43 +0000] [30333] [CRITICAL] WORKER TIMEOUT (pid:30343)\r\n[2016-01-21 15:15:43 +0000] [30343] [DEBUG] Closing connection. \r\n[2016-01-21 15:15:43 +0000] [30343] [INFO] Worker exiting (pid: 30343)\r\n[2016-01-21 15:15:43 +0000] [31203] [INFO] Booting worker with pid: 31203\r\n```\r\n\r\nnginx log\r\n\r\n```\r\n2016/01/21 15:15:43 [error] 23160#0: *10849 upstream prematurely closed connection while reading upstream...\r\n```\r\n\r\nThere are no other errors"},"comment":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/comments/208449086","html_url":"https://github.com/benoitc/gunicorn/issues/1186#issuecomment-208449086","issue_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1186","id":208449086,"user":{"login":"benoitc","id":14498,"avatar_url":"https://avatars.githubusercontent.com/u/14498?v=3","gravatar_id":"","url":"https://api.github.com/users/benoitc","html_url":"https://github.com/benoitc","followers_url":"https://api.github.com/users/benoitc/followers","following_url":"https://api.github.com/users/benoitc/following{/other_user}","gists_url":"https://api.github.com/users/benoitc/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitc/subscriptions","organizations_url":"https://api.github.com/users/benoitc/orgs","repos_url":"https://api.github.com/users/benoitc/repos","events_url":"https://api.github.com/users/benoitc/events{/privacy}","received_events_url":"https://api.github.com/users/benoitc/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T16:57:44Z","updated_at":"2016-04-11T16:57:44Z","body":"@bigpyer how long take a request? How can we reproduce it?"}}