{"action":"created","issue":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/734","labels_url":"https://api.github.com/repos/benoitc/gunicorn/issues/734/labels{/name}","comments_url":"https://api.github.com/repos/benoitc/gunicorn/issues/734/comments","events_url":"https://api.github.com/repos/benoitc/gunicorn/issues/734/events","html_url":"https://github.com/benoitc/gunicorn/issues/734","id":32760686,"number":734,"title":"got 504 when running multiple Gunicorn instances","user":{"login":"pengfei-xue","id":1533151,"avatar_url":"https://avatars.githubusercontent.com/u/1533151?v=3","gravatar_id":"","url":"https://api.github.com/users/pengfei-xue","html_url":"https://github.com/pengfei-xue","followers_url":"https://api.github.com/users/pengfei-xue/followers","following_url":"https://api.github.com/users/pengfei-xue/following{/other_user}","gists_url":"https://api.github.com/users/pengfei-xue/gists{/gist_id}","starred_url":"https://api.github.com/users/pengfei-xue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengfei-xue/subscriptions","organizations_url":"https://api.github.com/users/pengfei-xue/orgs","repos_url":"https://api.github.com/users/pengfei-xue/repos","events_url":"https://api.github.com/users/pengfei-xue/events{/privacy}","received_events_url":"https://api.github.com/users/pengfei-xue/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,"milestone":null,"comments":23,"created_at":"2014-05-04T03:42:56Z","updated_at":"2015-11-28T08:23:40Z","closed_at":"2015-01-29T23:09:16Z","body":"Hi,\r\n\r\nNot sure if this issue has been found before, but i got this for my deployment using supervisord and gunicorn for two django sites within one server. I'm sure my nginx configuration and gunicorn configuration is correct(different server name, different port).\r\n\r\nsupervisord==3.0b1\r\ngunicorn==18.0\r\nDjango==1.6.2\r\n\r\nOnly one Django site can run, the other only can get request for nginx, but no response, the result is 504, this is very weird.\r\n\r\nIf i stop that running django instance, the another `cannot run` instance now become runnable. "},"comment":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/comments/160264303","html_url":"https://github.com/benoitc/gunicorn/issues/734#issuecomment-160264303","issue_url":"https://api.github.com/repos/benoitc/gunicorn/issues/734","id":160264303,"user":{"login":"rohitkriitkgp","id":3785287,"avatar_url":"https://avatars.githubusercontent.com/u/3785287?v=3","gravatar_id":"","url":"https://api.github.com/users/rohitkriitkgp","html_url":"https://github.com/rohitkriitkgp","followers_url":"https://api.github.com/users/rohitkriitkgp/followers","following_url":"https://api.github.com/users/rohitkriitkgp/following{/other_user}","gists_url":"https://api.github.com/users/rohitkriitkgp/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitkriitkgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitkriitkgp/subscriptions","organizations_url":"https://api.github.com/users/rohitkriitkgp/orgs","repos_url":"https://api.github.com/users/rohitkriitkgp/repos","events_url":"https://api.github.com/users/rohitkriitkgp/events{/privacy}","received_events_url":"https://api.github.com/users/rohitkriitkgp/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T08:23:40Z","updated_at":"2015-11-28T08:23:40Z","body":"Found the solutions. I was using local cache and the session was not able to communicate with multiple workers. I changed to memcached and it starts working. \r\n\r\nThanks"}}