{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1267","labels_url":"https://api.github.com/repos/docker/swarm/issues/1267/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1267/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1267/events","html_url":"https://github.com/docker/swarm/issues/1267","id":110331099,"number":1267,"title":"Swarm manage leaks file descriptors leading to \"too many files open\"","user":{"login":"wrotki","id":4007980,"avatar_url":"https://avatars.githubusercontent.com/u/4007980?v=3","gravatar_id":"","url":"https://api.github.com/users/wrotki","html_url":"https://github.com/wrotki","followers_url":"https://api.github.com/users/wrotki/followers","following_url":"https://api.github.com/users/wrotki/following{/other_user}","gists_url":"https://api.github.com/users/wrotki/gists{/gist_id}","starred_url":"https://api.github.com/users/wrotki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrotki/subscriptions","organizations_url":"https://api.github.com/users/wrotki/orgs","repos_url":"https://api.github.com/users/wrotki/repos","events_url":"https://api.github.com/users/wrotki/events{/privacy}","received_events_url":"https://api.github.com/users/wrotki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/kind/bug","name":"kind/bug","color":"207de5"},{"url":"https://api.github.com/repos/docker/swarm/labels/priority/P1","name":"priority/P1","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/swarm/milestones/5","html_url":"https://github.com/docker/swarm/milestones/1.0.0","labels_url":"https://api.github.com/repos/docker/swarm/milestones/5/labels","id":1191592,"number":5,"title":"1.0.0","description":"","creator":{"login":"aluzzardi","id":179503,"avatar_url":"https://avatars.githubusercontent.com/u/179503?v=3","gravatar_id":"","url":"https://api.github.com/users/aluzzardi","html_url":"https://github.com/aluzzardi","followers_url":"https://api.github.com/users/aluzzardi/followers","following_url":"https://api.github.com/users/aluzzardi/following{/other_user}","gists_url":"https://api.github.com/users/aluzzardi/gists{/gist_id}","starred_url":"https://api.github.com/users/aluzzardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluzzardi/subscriptions","organizations_url":"https://api.github.com/users/aluzzardi/orgs","repos_url":"https://api.github.com/users/aluzzardi/repos","events_url":"https://api.github.com/users/aluzzardi/events{/privacy}","received_events_url":"https://api.github.com/users/aluzzardi/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":56,"state":"open","created_at":"2015-07-02T21:20:49Z","updated_at":"2015-10-29T09:02:28Z","due_on":"2015-10-13T07:00:00Z","closed_at":null},"comments":10,"created_at":"2015-10-07T22:27:55Z","updated_at":"2015-10-29T19:04:18Z","closed_at":null,"body":"Try running swarm manage container for a while and then doing:\r\n\r\nsudo lsof -p <swarm process PID>\r\n\r\nIt shows a lot of socket type fds - In my case, I start and stop a lot of containers relatively quickly (several a minute), which might lead to multiple \"container not found\" situations when refreshing engines - and this \"not found\" is the condition triggering the leak.\r\n\r\nCaused by a bug in samalba/dockerclient which swarm uses - I proposed a fix for it in the PR: https://github.com/samalba/dockerclient/pull/172\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/152288586","html_url":"https://github.com/docker/swarm/issues/1267#issuecomment-152288586","issue_url":"https://api.github.com/repos/docker/swarm/issues/1267","id":152288586,"user":{"login":"abronan","id":1655859,"avatar_url":"https://avatars.githubusercontent.com/u/1655859?v=3","gravatar_id":"","url":"https://api.github.com/users/abronan","html_url":"https://github.com/abronan","followers_url":"https://api.github.com/users/abronan/followers","following_url":"https://api.github.com/users/abronan/following{/other_user}","gists_url":"https://api.github.com/users/abronan/gists{/gist_id}","starred_url":"https://api.github.com/users/abronan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abronan/subscriptions","organizations_url":"https://api.github.com/users/abronan/orgs","repos_url":"https://api.github.com/users/abronan/repos","events_url":"https://api.github.com/users/abronan/events{/privacy}","received_events_url":"https://api.github.com/users/abronan/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T19:04:18Z","updated_at":"2015-10-29T19:04:18Z","body":"@aluzzardi Yes it was already updated in dockerclient so the leak might come from somewhere else."}}