{"action":"closed","issue":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/821","repository_url":"https://api.github.com/repos/swoole/swoole-src","labels_url":"https://api.github.com/repos/swoole/swoole-src/issues/821/labels{/name}","comments_url":"https://api.github.com/repos/swoole/swoole-src/issues/821/comments","events_url":"https://api.github.com/repos/swoole/swoole-src/issues/821/events","html_url":"https://github.com/swoole/swoole-src/issues/821","id":172258845,"number":821,"title":"max_conn不起作用","user":{"login":"douyu","id":12441728,"avatar_url":"https://avatars.githubusercontent.com/u/12441728?v=3","gravatar_id":"","url":"https://api.github.com/users/douyu","html_url":"https://github.com/douyu","followers_url":"https://api.github.com/users/douyu/followers","following_url":"https://api.github.com/users/douyu/following{/other_user}","gists_url":"https://api.github.com/users/douyu/gists{/gist_id}","starred_url":"https://api.github.com/users/douyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douyu/subscriptions","organizations_url":"https://api.github.com/users/douyu/orgs","repos_url":"https://api.github.com/users/douyu/repos","events_url":"https://api.github.com/users/douyu/events{/privacy}","received_events_url":"https://api.github.com/users/douyu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swoole/swoole-src/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-20T07:30:07Z","updated_at":"2016-08-23T03:03:13Z","closed_at":"2016-08-23T03:03:13Z","body":"`swoole`设置的`max_conn`参数是20000, 但是swoole最多只能连接1000个客户端, 用户`netty`写了一个简单的`echo server`, 它可以连接超过1000客户端，所以应该不是系统限制\r\n\r\n还发现如果max_conn设置成100, 那么只能连接75个客户端, 随着max_conn变大, 最大连接数也会变大，但是最多也就不大于1000个\r\n\r\n系统:  `ubuntu 16.04`\r\nswoole版本: `1.8.9`\r\nserver: `swoole_websocket_server`\r\n文件打开限制: \r\n```cmd\r\n$ ulimit -n\r\n262140\r\n```"}}
{"actor":{"display_login":"matyhtf"}}