{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io/issues/2747","repository_url":"https://api.github.com/repos/socketio/socket.io","labels_url":"https://api.github.com/repos/socketio/socket.io/issues/2747/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io/issues/2747/comments","events_url":"https://api.github.com/repos/socketio/socket.io/issues/2747/events","html_url":"https://github.com/socketio/socket.io/issues/2747","id":188783839,"number":2747,"title":"Socket.io pm2 on shutdown doesnt closes sockets","user":{"login":"Nerfair","id":2494140,"avatar_url":"https://avatars.githubusercontent.com/u/2494140?v=3","gravatar_id":"","url":"https://api.github.com/users/Nerfair","html_url":"https://github.com/Nerfair","followers_url":"https://api.github.com/users/Nerfair/followers","following_url":"https://api.github.com/users/Nerfair/following{/other_user}","gists_url":"https://api.github.com/users/Nerfair/gists{/gist_id}","starred_url":"https://api.github.com/users/Nerfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nerfair/subscriptions","organizations_url":"https://api.github.com/users/Nerfair/orgs","repos_url":"https://api.github.com/users/Nerfair/repos","events_url":"https://api.github.com/users/Nerfair/events{/privacy}","received_events_url":"https://api.github.com/users/Nerfair/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T15:26:48Z","updated_at":"2016-11-15T06:00:25Z","closed_at":null,"body":"This issue follows https://github.com/Unitech/pm2/issues/2508\r\nThe problem is if i restart or reload socket.io server via pm2, i still have many sockets left online (as far as i understood), so as a result i have cpu load and memory spikes. \r\n\r\nAlso as a precursor of this problem, no matter which mode (fork or cluster) my server is running, my active sockets count is growing (without sharp jumps, for example: 4000, 3995, 4010, 4005, 4020, but still constantly) with time, what needs more and more memory and as a result i have memory leak?"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io/issues/comments/260555002","html_url":"https://github.com/socketio/socket.io/issues/2747#issuecomment-260555002","issue_url":"https://api.github.com/repos/socketio/socket.io/issues/2747","id":260555002,"user":{"login":"darrachequesne","id":13031701,"avatar_url":"https://avatars.githubusercontent.com/u/13031701?v=3","gravatar_id":"","url":"https://api.github.com/users/darrachequesne","html_url":"https://github.com/darrachequesne","followers_url":"https://api.github.com/users/darrachequesne/followers","following_url":"https://api.github.com/users/darrachequesne/following{/other_user}","gists_url":"https://api.github.com/users/darrachequesne/gists{/gist_id}","starred_url":"https://api.github.com/users/darrachequesne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrachequesne/subscriptions","organizations_url":"https://api.github.com/users/darrachequesne/orgs","repos_url":"https://api.github.com/users/darrachequesne/repos","events_url":"https://api.github.com/users/darrachequesne/events{/privacy}","received_events_url":"https://api.github.com/users/darrachequesne/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T06:00:25Z","updated_at":"2016-11-15T06:00:25Z","body":"@Nerfair which socket.io client do the mobile clients use? `socket.io-client`? Or the native ones  (Android/iOS)?"}}
{"actor":{"display_login":"darrachequesne"}}