{"action":"closed","issue":{"url":"https://api.github.com/repos/Communote/communote-server/issues/16","repository_url":"https://api.github.com/repos/Communote/communote-server","labels_url":"https://api.github.com/repos/Communote/communote-server/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Communote/communote-server/issues/16/comments","events_url":"https://api.github.com/repos/Communote/communote-server/issues/16/events","html_url":"https://github.com/Communote/communote-server/issues/16","id":176367493,"number":16,"title":"Group synchronization from LDAP directory leaks connections","user":{"login":"rwi","id":3751888,"avatar_url":"https://avatars.githubusercontent.com/u/3751888?v=3","gravatar_id":"","url":"https://api.github.com/users/rwi","html_url":"https://github.com/rwi","followers_url":"https://api.github.com/users/rwi/followers","following_url":"https://api.github.com/users/rwi/following{/other_user}","gists_url":"https://api.github.com/users/rwi/gists{/gist_id}","starred_url":"https://api.github.com/users/rwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwi/subscriptions","organizations_url":"https://api.github.com/users/rwi/orgs","repos_url":"https://api.github.com/users/rwi/repos","events_url":"https://api.github.com/users/rwi/events{/privacy}","received_events_url":"https://api.github.com/users/rwi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Communote/communote-server/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":{"login":"rwi","id":3751888,"avatar_url":"https://avatars.githubusercontent.com/u/3751888?v=3","gravatar_id":"","url":"https://api.github.com/users/rwi","html_url":"https://github.com/rwi","followers_url":"https://api.github.com/users/rwi/followers","following_url":"https://api.github.com/users/rwi/following{/other_user}","gists_url":"https://api.github.com/users/rwi/gists{/gist_id}","starred_url":"https://api.github.com/users/rwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwi/subscriptions","organizations_url":"https://api.github.com/users/rwi/orgs","repos_url":"https://api.github.com/users/rwi/repos","events_url":"https://api.github.com/users/rwi/events{/privacy}","received_events_url":"https://api.github.com/users/rwi/received_events","type":"User","site_admin":false},"assignees":[{"login":"rwi","id":3751888,"avatar_url":"https://avatars.githubusercontent.com/u/3751888?v=3","gravatar_id":"","url":"https://api.github.com/users/rwi","html_url":"https://github.com/rwi","followers_url":"https://api.github.com/users/rwi/followers","following_url":"https://api.github.com/users/rwi/following{/other_user}","gists_url":"https://api.github.com/users/rwi/gists{/gist_id}","starred_url":"https://api.github.com/users/rwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwi/subscriptions","organizations_url":"https://api.github.com/users/rwi/orgs","repos_url":"https://api.github.com/users/rwi/repos","events_url":"https://api.github.com/users/rwi/events{/privacy}","received_events_url":"https://api.github.com/users/rwi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Communote/communote-server/milestones/2","html_url":"https://github.com/Communote/communote-server/milestones/3.4.1","labels_url":"https://api.github.com/repos/Communote/communote-server/milestones/2/labels","id":2014030,"number":2,"title":"3.4.1","description":null,"creator":{"login":"rwi","id":3751888,"avatar_url":"https://avatars.githubusercontent.com/u/3751888?v=3","gravatar_id":"","url":"https://api.github.com/users/rwi","html_url":"https://github.com/rwi","followers_url":"https://api.github.com/users/rwi/followers","following_url":"https://api.github.com/users/rwi/following{/other_user}","gists_url":"https://api.github.com/users/rwi/gists{/gist_id}","starred_url":"https://api.github.com/users/rwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwi/subscriptions","organizations_url":"https://api.github.com/users/rwi/orgs","repos_url":"https://api.github.com/users/rwi/repos","events_url":"https://api.github.com/users/rwi/events{/privacy}","received_events_url":"https://api.github.com/users/rwi/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-09-19T14:37:05Z","updated_at":"2016-10-17T14:05:33Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-12T12:51:35Z","updated_at":"2016-10-17T14:05:33Z","closed_at":"2016-10-17T14:05:33Z","body":"Steps to reproduce\r\n* configure LDAP group synchronization with memberOf mode (member mode could work too)\r\n* make sure that Communote users from LDAP directory are member of several groups. Some of the groups should have child groups.\r\n* schedule group synchronization in Communote administration\r\n* call lsof -p after group synchronization has finished: output will show that there are still some connections to the LDAP server\r\n* a heap dump confirms this. The open connections are marked as busy and cannot be reused in further LDAP requests.\r\n* when running another synchronization the number of open connections increases\r\n\r\nOutcome: in worst case Communote will crash because of too many open files."}}
{"actor":{"display_login":"rwi"}}