{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/issues/113","repository_url":"https://api.github.com/repos/dimagi/commcare-hq-deploy","labels_url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/issues/113/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/issues/113/events","html_url":"https://github.com/dimagi/commcare-hq-deploy/pull/113","id":176128282,"number":113,"title":"errorless celery restart","user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-09T22:35:17Z","updated_at":"2016-09-09T22:37:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/pulls/113","html_url":"https://github.com/dimagi/commcare-hq-deploy/pull/113","diff_url":"https://github.com/dimagi/commcare-hq-deploy/pull/113.diff","patch_url":"https://github.com/dimagi/commcare-hq-deploy/pull/113.patch"},"body":"@gcapalbo @dannyroberts this branch is on staging and works as far as i can tell. i've been testing like this:\r\n\r\n1. Initiate long download of an export: https://staging.commcarehq.org/a/crs-remind/data/export/custom/form/download/b6c46519a2e78e126269a26c6527904e/\r\n2. `fab staging restart_services`. observice all pid files get removed except the main one. supervisor will hang for some timeout, then continue on and restart the rest of the services\r\n3. start a new export of the same one. Both exports on two different celery process are being run.\r\n4. observe that when the first export ends, the worker process all dies"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/issues/comments/246060001","html_url":"https://github.com/dimagi/commcare-hq-deploy/pull/113#issuecomment-246060001","issue_url":"https://api.github.com/repos/dimagi/commcare-hq-deploy/issues/113","id":246060001,"user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T22:37:19Z","updated_at":"2016-09-09T22:37:19Z","body":"(requires an ansible portion to make the pid directory)"}}
{"actor":{"display_login":"benrudolph"}}