{"action":"created","issue":{"url":"https://api.github.com/repos/kakserpom/phpdaemon/issues/209","labels_url":"https://api.github.com/repos/kakserpom/phpdaemon/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/kakserpom/phpdaemon/issues/209/comments","events_url":"https://api.github.com/repos/kakserpom/phpdaemon/issues/209/events","html_url":"https://github.com/kakserpom/phpdaemon/issues/209","id":90754420,"number":209,"title":"Hangs when not in use for a long time","user":{"login":"yefrem","id":3476489,"avatar_url":"https://avatars.githubusercontent.com/u/3476489?v=3","gravatar_id":"","url":"https://api.github.com/users/yefrem","html_url":"https://github.com/yefrem","followers_url":"https://api.github.com/users/yefrem/followers","following_url":"https://api.github.com/users/yefrem/following{/other_user}","gists_url":"https://api.github.com/users/yefrem/gists{/gist_id}","starred_url":"https://api.github.com/users/yefrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yefrem/subscriptions","organizations_url":"https://api.github.com/users/yefrem/orgs","repos_url":"https://api.github.com/users/yefrem/repos","events_url":"https://api.github.com/users/yefrem/events{/privacy}","received_events_url":"https://api.github.com/users/yefrem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-24T18:31:22Z","updated_at":"2015-07-01T19:07:55Z","closed_at":null,"body":"Hi. I've set up chat server using phpDaemon and WebSockets. It's not published yet so is only used by test users. I've noticed that if I don't connect and send any messages for about 2 days it hangs, clients cannot connect and phpd restart is needed. Is there any way to fix or track it?"},"comment":{"url":"https://api.github.com/repos/kakserpom/phpdaemon/issues/comments/117797391","html_url":"https://github.com/kakserpom/phpdaemon/issues/209#issuecomment-117797391","issue_url":"https://api.github.com/repos/kakserpom/phpdaemon/issues/209","id":117797391,"user":{"login":"yefrem","id":3476489,"avatar_url":"https://avatars.githubusercontent.com/u/3476489?v=3","gravatar_id":"","url":"https://api.github.com/users/yefrem","html_url":"https://github.com/yefrem","followers_url":"https://api.github.com/users/yefrem/followers","following_url":"https://api.github.com/users/yefrem/following{/other_user}","gists_url":"https://api.github.com/users/yefrem/gists{/gist_id}","starred_url":"https://api.github.com/users/yefrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yefrem/subscriptions","organizations_url":"https://api.github.com/users/yefrem/orgs","repos_url":"https://api.github.com/users/yefrem/repos","events_url":"https://api.github.com/users/yefrem/events{/privacy}","received_events_url":"https://api.github.com/users/yefrem/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T19:07:55Z","updated_at":"2015-07-01T19:07:55Z","body":"So I contacted server admin and he did what you told me. Workers restarted but server still did not respond (client could not connect) until I did \"phpd restart\"."}}