{"action":"created","issue":{"url":"https://api.github.com/repos/evercam/evercam-media/issues/81","labels_url":"https://api.github.com/repos/evercam/evercam-media/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/evercam/evercam-media/issues/81/comments","events_url":"https://api.github.com/repos/evercam/evercam-media/issues/81/events","html_url":"https://github.com/evercam/evercam-media/issues/81","id":110214349,"number":81,"title":"Handle emfile errors","user":{"login":"shankardevy","id":2011812,"avatar_url":"https://avatars.githubusercontent.com/u/2011812?v=3","gravatar_id":"","url":"https://api.github.com/users/shankardevy","html_url":"https://github.com/shankardevy","followers_url":"https://api.github.com/users/shankardevy/followers","following_url":"https://api.github.com/users/shankardevy/following{/other_user}","gists_url":"https://api.github.com/users/shankardevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shankardevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankardevy/subscriptions","organizations_url":"https://api.github.com/users/shankardevy/orgs","repos_url":"https://api.github.com/users/shankardevy/repos","events_url":"https://api.github.com/users/shankardevy/events{/privacy}","received_events_url":"https://api.github.com/users/shankardevy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-07T12:25:27Z","updated_at":"2015-10-08T12:16:43Z","closed_at":null,"body":"The logs shows a lot of `%HTTPotion.HTTPError{message: \"emfile\"}` which occur when we have [too many open files](http://blog.izs.me/post/56827866110/wtf-is-emfile-and-why-does-it-happen-to-me)\r\n\r\nHowever `ulimit -a` on server return \r\n\r\n`open files                      (-n) 1000000`\r\n\r\nI don't think we have so many files open. So HTTPotion reporting 'emfile' is bit strange.\r\n\r\n1. Find out what this error means and why this occurs\r\n2. Fix it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/evercam/evercam-media/issues/comments/146519792","html_url":"https://github.com/evercam/evercam-media/issues/81#issuecomment-146519792","issue_url":"https://api.github.com/repos/evercam/evercam-media/issues/81","id":146519792,"user":{"login":"shankardevy","id":2011812,"avatar_url":"https://avatars.githubusercontent.com/u/2011812?v=3","gravatar_id":"","url":"https://api.github.com/users/shankardevy","html_url":"https://github.com/shankardevy","followers_url":"https://api.github.com/users/shankardevy/followers","following_url":"https://api.github.com/users/shankardevy/following{/other_user}","gists_url":"https://api.github.com/users/shankardevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shankardevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankardevy/subscriptions","organizations_url":"https://api.github.com/users/shankardevy/orgs","repos_url":"https://api.github.com/users/shankardevy/repos","events_url":"https://api.github.com/users/shankardevy/events{/privacy}","received_events_url":"https://api.github.com/users/shankardevy/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T12:16:43Z","updated_at":"2015-10-08T12:16:43Z","body":"@mosic do you know of any reason why this occurs or a solution to fix the same?"}}