{"action":"created","issue":{"url":"https://api.github.com/repos/puma/puma/issues/1058","repository_url":"https://api.github.com/repos/puma/puma","labels_url":"https://api.github.com/repos/puma/puma/issues/1058/labels{/name}","comments_url":"https://api.github.com/repos/puma/puma/issues/1058/comments","events_url":"https://api.github.com/repos/puma/puma/issues/1058/events","html_url":"https://github.com/puma/puma/issues/1058","id":172816737,"number":1058,"title":"Puma losing touch with fsevent_watch processes when macbook put to sleep","user":{"login":"ad-johnson","id":14955615,"avatar_url":"https://avatars.githubusercontent.com/u/14955615?v=3","gravatar_id":"","url":"https://api.github.com/users/ad-johnson","html_url":"https://github.com/ad-johnson","followers_url":"https://api.github.com/users/ad-johnson/followers","following_url":"https://api.github.com/users/ad-johnson/following{/other_user}","gists_url":"https://api.github.com/users/ad-johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/ad-johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad-johnson/subscriptions","organizations_url":"https://api.github.com/users/ad-johnson/orgs","repos_url":"https://api.github.com/users/ad-johnson/repos","events_url":"https://api.github.com/users/ad-johnson/events{/privacy}","received_events_url":"https://api.github.com/users/ad-johnson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T21:53:31Z","updated_at":"2016-08-24T07:56:39Z","closed_at":null,"body":"Run a rails server and examine processes: 3 ruby and 27 fsevent_watch processes created.  Terminal server and these ruby and fsevent_watch processes are terminated.  \r\n\r\nRun a rails server and examine processes: as above.  Put Macbook to sleep (I presume any OSX machine, can't validate with Windows) and re-awaken.  Terminate rails server: ruby processes are terminated but fsevent_watch processes remain.\r\n\r\nDo that often enough without realising and you soon have an unstable system!\r\n\r\nWhen I last did this, on awakening the Macbook, the following messages were displayed in the terminal window (plus the termination):\r\n\r\n[823] ! Terminating timed out worker: 851\r\n[823] ! Out-of-sync worker list, no 851 worker\r\n[823] - Worker 0 (pid: 908) booted, phase: 0\r\n^C[823] - Gracefully shutting down workers...\r\n[823] === puma shutdown: 2016-08-23 22:44:58 +0100 ===\r\n[823] - Goodbye!\r\nExiting\r\n\r\nI'm very new to Rails development so may have missed something but it looks like it loses touch with the existing processes and restarts new ones when the worker is restarted: these are then left running."},"comment":{"url":"https://api.github.com/repos/puma/puma/issues/comments/241986080","html_url":"https://github.com/puma/puma/issues/1058#issuecomment-241986080","issue_url":"https://api.github.com/repos/puma/puma/issues/1058","id":241986080,"user":{"login":"ad-johnson","id":14955615,"avatar_url":"https://avatars.githubusercontent.com/u/14955615?v=3","gravatar_id":"","url":"https://api.github.com/users/ad-johnson","html_url":"https://github.com/ad-johnson","followers_url":"https://api.github.com/users/ad-johnson/followers","following_url":"https://api.github.com/users/ad-johnson/following{/other_user}","gists_url":"https://api.github.com/users/ad-johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/ad-johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad-johnson/subscriptions","organizations_url":"https://api.github.com/users/ad-johnson/orgs","repos_url":"https://api.github.com/users/ad-johnson/repos","events_url":"https://api.github.com/users/ad-johnson/events{/privacy}","received_events_url":"https://api.github.com/users/ad-johnson/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T07:56:39Z","updated_at":"2016-08-24T07:56:39Z","body":"Darn it! Closed the wrong one.  This is still an issue in my view."}}
{"actor":{"display_login":"ad-johnson"}}