{"action":"created","issue":{"url":"https://api.github.com/repos/eunyoung14/mtcp/issues/45","repository_url":"https://api.github.com/repos/eunyoung14/mtcp","labels_url":"https://api.github.com/repos/eunyoung14/mtcp/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/eunyoung14/mtcp/issues/45/comments","events_url":"https://api.github.com/repos/eunyoung14/mtcp/issues/45/events","html_url":"https://github.com/eunyoung14/mtcp/issues/45","id":143477240,"number":45,"title":"support over 1M tcp connections with epwget and epserver","user":{"login":"ATCP","id":1303189,"avatar_url":"https://avatars.githubusercontent.com/u/1303189?v=3","gravatar_id":"","url":"https://api.github.com/users/ATCP","html_url":"https://github.com/ATCP","followers_url":"https://api.github.com/users/ATCP/followers","following_url":"https://api.github.com/users/ATCP/following{/other_user}","gists_url":"https://api.github.com/users/ATCP/gists{/gist_id}","starred_url":"https://api.github.com/users/ATCP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ATCP/subscriptions","organizations_url":"https://api.github.com/users/ATCP/orgs","repos_url":"https://api.github.com/users/ATCP/repos","events_url":"https://api.github.com/users/ATCP/events{/privacy}","received_events_url":"https://api.github.com/users/ATCP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-25T10:58:53Z","updated_at":"2016-03-28T23:22:29Z","closed_at":null,"body":"Hi, mtcp team,\r\n\r\nsorry to bother you guys\r\nI tried to connect to epserver with over 1M TCP concurrent connections using epwget, first, I change the rcv_buf and snd_buf to 1024 (because using default 8192, the application is killed), and found warnings like \"[WARINING] Available # addresses (8063) is smaller than the max concurrency (375000).\", thus \"mtcp_connect: Resource temporarily unavailable\",\r\n\r\nDoes it mean that if we enlarge the addresses pool, this problem is solved, in README, it said \"epwget can use a range of IP addresses for larger concurrent connections that cannot be in an IP. you can set it in epwget.c:33\".\r\n\r\nThanks\r\n\r\n\r\n     "},"comment":{"url":"https://api.github.com/repos/eunyoung14/mtcp/issues/comments/202623306","html_url":"https://github.com/eunyoung14/mtcp/issues/45#issuecomment-202623306","issue_url":"https://api.github.com/repos/eunyoung14/mtcp/issues/45","id":202623306,"user":{"login":"vincentmli","id":3729694,"avatar_url":"https://avatars.githubusercontent.com/u/3729694?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentmli","html_url":"https://github.com/vincentmli","followers_url":"https://api.github.com/users/vincentmli/followers","following_url":"https://api.github.com/users/vincentmli/following{/other_user}","gists_url":"https://api.github.com/users/vincentmli/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentmli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentmli/subscriptions","organizations_url":"https://api.github.com/users/vincentmli/orgs","repos_url":"https://api.github.com/users/vincentmli/repos","events_url":"https://api.github.com/users/vincentmli/events{/privacy}","received_events_url":"https://api.github.com/users/vincentmli/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T23:22:29Z","updated_at":"2016-03-28T23:22:29Z","body":"for the record, I  used epwget as client to load test our proxy device, it can reach ~5 million concurrent connections, I have 72GB memory for the mTCP "}}