{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/6786","repository_url":"https://api.github.com/repos/influxdata/influxdb","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/6786/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/6786/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/6786/events","html_url":"https://github.com/influxdata/influxdb/issues/6786","id":158612607,"number":6786,"title":"[0.12.2] Too many open files","user":{"login":"zbindenren","id":1607088,"avatar_url":"https://avatars.githubusercontent.com/u/1607088?v=3","gravatar_id":"","url":"https://api.github.com/users/zbindenren","html_url":"https://github.com/zbindenren","followers_url":"https://api.github.com/users/zbindenren/followers","following_url":"https://api.github.com/users/zbindenren/following{/other_user}","gists_url":"https://api.github.com/users/zbindenren/gists{/gist_id}","starred_url":"https://api.github.com/users/zbindenren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbindenren/subscriptions","organizations_url":"https://api.github.com/users/zbindenren/orgs","repos_url":"https://api.github.com/users/zbindenren/repos","events_url":"https://api.github.com/users/zbindenren/events{/privacy}","received_events_url":"https://api.github.com/users/zbindenren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-06T07:02:54Z","updated_at":"2016-06-20T14:28:49Z","closed_at":null,"body":"### Bug report\r\n\r\n__System info:__ [0.12.2], RHEL7.2, amd64\r\n\r\n__Steps to reproduce:__\r\n\r\n1. Start influxdb\r\n2. Observe how ~1000 telegraf clients post data\r\n3. wait ~2 days\r\n\r\n__Expected behavior:__ No errors in log\r\n\r\n__Actual behavior:__  A lot of entries:\r\n[run] 2016/06/06 09:00:05 http: Accept error: accept tcp 172.16.240.72:7003: too many open files; retrying in 1s\r\n65k open files\r\n\r\n__Additional info:__ [Include gist of relevant config, logs, etc.]\r\n\r\n```\r\n$ lsof -p 8103 |wc -l\r\n65625\r\n\r\n$ lsof -p 8103 |grep CLOSE_WAIT |wc -l\r\n3986\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/227158585","html_url":"https://github.com/influxdata/influxdb/issues/6786#issuecomment-227158585","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/6786","id":227158585,"user":{"login":"zbindenren","id":1607088,"avatar_url":"https://avatars.githubusercontent.com/u/1607088?v=3","gravatar_id":"","url":"https://api.github.com/users/zbindenren","html_url":"https://github.com/zbindenren","followers_url":"https://api.github.com/users/zbindenren/followers","following_url":"https://api.github.com/users/zbindenren/following{/other_user}","gists_url":"https://api.github.com/users/zbindenren/gists{/gist_id}","starred_url":"https://api.github.com/users/zbindenren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbindenren/subscriptions","organizations_url":"https://api.github.com/users/zbindenren/orgs","repos_url":"https://api.github.com/users/zbindenren/repos","events_url":"https://api.github.com/users/zbindenren/events{/privacy}","received_events_url":"https://api.github.com/users/zbindenren/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T14:28:49Z","updated_at":"2016-06-20T14:28:49Z","body":"I tried that.\r\n\r\nAfter upgrading to influxdb 0.13 the db was not usable anymore. I got a %mem_commit of 1000%. The Server has 64GB Memory installed. I got a lot of http 500 errors, I had to switch back to 0.12.2 which has a %mem_commit of ~20%."}}
{"actor":{"display_login":"zbindenren"}}