{"action":"created","issue":{"url":"https://api.github.com/repos/locomotivecms/engine/issues/1120","repository_url":"https://api.github.com/repos/locomotivecms/engine","labels_url":"https://api.github.com/repos/locomotivecms/engine/issues/1120/labels{/name}","comments_url":"https://api.github.com/repos/locomotivecms/engine/issues/1120/comments","events_url":"https://api.github.com/repos/locomotivecms/engine/issues/1120/events","html_url":"https://github.com/locomotivecms/engine/issues/1120","id":131404627,"number":1120,"title":"Many mongoid connections","user":{"login":"benoist","id":7202,"avatar_url":"https://avatars.githubusercontent.com/u/7202?v=3","gravatar_id":"","url":"https://api.github.com/users/benoist","html_url":"https://github.com/benoist","followers_url":"https://api.github.com/users/benoist/followers","following_url":"https://api.github.com/users/benoist/following{/other_user}","gists_url":"https://api.github.com/users/benoist/gists{/gist_id}","starred_url":"https://api.github.com/users/benoist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoist/subscriptions","organizations_url":"https://api.github.com/users/benoist/orgs","repos_url":"https://api.github.com/users/benoist/repos","events_url":"https://api.github.com/users/benoist/events{/privacy}","received_events_url":"https://api.github.com/users/benoist/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/locomotivecms/engine/labels/issue","name":"issue","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-02-04T16:41:58Z","updated_at":"2016-02-12T15:59:43Z","closed_at":null,"body":"I'm getting a lot of connections in my production environment resulting in to many open files.\r\nLast time I checked I had over 11000 open connections.\r\n\r\nThis could well be a mongoid problem, just wondering if anyone else has this problem as it's a standard rails application with only the engine.\r\n\r\n  * locomotivecms (3.0.0)\r\n  * locomotivecms-liquid (4.0.0)\r\n  * locomotivecms-solid (4.0.1)\r\n  * locomotivecms_common (0.0.5)\r\n  * locomotivecms_steam (1.0.0)\r\n\r\n  * mongo (2.2.2)\r\n  * mongo_session_store-rails4 (6.0.0)\r\n  * mongoid (5.0.2)\r\n  * mongoid-grid_fs (2.2.1)\r\n  * mongoid-tree (2.0.1)"},"comment":{"url":"https://api.github.com/repos/locomotivecms/engine/issues/comments/183385741","html_url":"https://github.com/locomotivecms/engine/issues/1120#issuecomment-183385741","issue_url":"https://api.github.com/repos/locomotivecms/engine/issues/1120","id":183385741,"user":{"login":"jaykay","id":62465,"avatar_url":"https://avatars.githubusercontent.com/u/62465?v=3","gravatar_id":"","url":"https://api.github.com/users/jaykay","html_url":"https://github.com/jaykay","followers_url":"https://api.github.com/users/jaykay/followers","following_url":"https://api.github.com/users/jaykay/following{/other_user}","gists_url":"https://api.github.com/users/jaykay/gists{/gist_id}","starred_url":"https://api.github.com/users/jaykay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaykay/subscriptions","organizations_url":"https://api.github.com/users/jaykay/orgs","repos_url":"https://api.github.com/users/jaykay/repos","events_url":"https://api.github.com/users/jaykay/events{/privacy}","received_events_url":"https://api.github.com/users/jaykay/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T15:59:43Z","updated_at":"2016-02-12T15:59:43Z","body":"Okay, I tried out `max_pool_size` and `min_pool_size` so far. None of them seem to have any effect on that issue. I didn't test mongoid 5.1.0 though, perhaps I'll could do that on the weekend."}}