{"action":"closed","issue":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/253","labels_url":"https://api.github.com/repos/emqtt/emqttd/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/253/comments","events_url":"https://api.github.com/repos/emqtt/emqttd/issues/253/events","html_url":"https://github.com/emqtt/emqttd/issues/253","id":102060644,"number":253,"title":"Log message flood crash the broker","user":{"login":"eurus9989","id":12723930,"avatar_url":"https://avatars.githubusercontent.com/u/12723930?v=3","gravatar_id":"","url":"https://api.github.com/users/eurus9989","html_url":"https://github.com/eurus9989","followers_url":"https://api.github.com/users/eurus9989/followers","following_url":"https://api.github.com/users/eurus9989/following{/other_user}","gists_url":"https://api.github.com/users/eurus9989/gists{/gist_id}","starred_url":"https://api.github.com/users/eurus9989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eurus9989/subscriptions","organizations_url":"https://api.github.com/users/eurus9989/orgs","repos_url":"https://api.github.com/users/eurus9989/repos","events_url":"https://api.github.com/users/eurus9989/events{/privacy}","received_events_url":"https://api.github.com/users/eurus9989/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emqtt/emqttd/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"erylee","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/erylee","html_url":"https://github.com/erylee","followers_url":"https://api.github.com/users/erylee/followers","following_url":"https://api.github.com/users/erylee/following{/other_user}","gists_url":"https://api.github.com/users/erylee/gists{/gist_id}","starred_url":"https://api.github.com/users/erylee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erylee/subscriptions","organizations_url":"https://api.github.com/users/erylee/orgs","repos_url":"https://api.github.com/users/erylee/repos","events_url":"https://api.github.com/users/erylee/events{/privacy}","received_events_url":"https://api.github.com/users/erylee/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/emqtt/emqttd/milestones/26","html_url":"https://github.com/emqtt/emqttd/milestones/0.11.0","labels_url":"https://api.github.com/repos/emqtt/emqttd/milestones/26/labels","id":1084077,"number":26,"title":"0.11.0","description":"Network Throttle Control\r\nShared Subscriptions","creator":{"login":"erylee","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/erylee","html_url":"https://github.com/erylee","followers_url":"https://api.github.com/users/erylee/followers","following_url":"https://api.github.com/users/erylee/following{/other_user}","gists_url":"https://api.github.com/users/erylee/gists{/gist_id}","starred_url":"https://api.github.com/users/erylee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erylee/subscriptions","organizations_url":"https://api.github.com/users/erylee/orgs","repos_url":"https://api.github.com/users/erylee/repos","events_url":"https://api.github.com/users/erylee/events{/privacy}","received_events_url":"https://api.github.com/users/erylee/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2015-04-26T16:56:06Z","updated_at":"2015-08-21T11:34:19Z","due_on":"2015-08-29T16:00:00Z","closed_at":null},"comments":4,"created_at":"2015-08-20T04:41:46Z","updated_at":"2015-08-21T11:34:19Z","closed_at":"2015-08-21T11:34:19Z","body":"This is my config of etc/emqttd.config for lager. I follow the link https://github.com/emqtt/emqttd/wiki/One%20Million%20Connections . But when the server reach to 3000 concurent connections, server crashed. What's wrong here ? The log show the reason of acceptors and emfiles error\r\n\r\n```\r\n[{kernel,\r\n        [{start_timer, true},\r\n         {start_pg2, true}\r\n ]},\r\n {sasl, [\r\n        {sasl_error_logger, {file, \"log/emqttd_sasl.log\"}}\r\n ]},\r\n {ssl, [\r\n    %{versions, ['tlsv1.2', 'tlsv1.1']}\r\n ]},\r\n {lager, [\r\n    {colored, true},\r\n    {async_threshold, 1000},\r\n    {error_logger_redirect, false},\r\n    {crash_log, \"log/emqttd_crash.log\"},\r\n    {handlers, [\r\n        {lager_file_backend, [\r\n            {formatter_config, [time, \" \", pid, \" [\",severity,\"] \", message, \"\\n\"]},\r\n            {file, \"log/emqttd_error.log\"},\r\n            {level, error},\r\n            {size, 104857600},\r\n            {date, \"$D0\"},\r\n            {count, 30}\r\n        ]}\r\n    ]}\r\n  ]},\r\n{esockd, [\r\n    {logger, {lager, info}}\r\n ]},\r\n```"}}