{"action":"created","issue":{"url":"https://api.github.com/repos/xtaci/kcptun/issues/246","repository_url":"https://api.github.com/repos/xtaci/kcptun","labels_url":"https://api.github.com/repos/xtaci/kcptun/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/xtaci/kcptun/issues/246/comments","events_url":"https://api.github.com/repos/xtaci/kcptun/issues/246/events","html_url":"https://github.com/xtaci/kcptun/issues/246","id":186204805,"number":246,"title":"最近几个版本服务端容易被Kill (max open files?)","user":{"login":"lizongzeshunshun","id":10304206,"avatar_url":"https://avatars.githubusercontent.com/u/10304206?v=3","gravatar_id":"","url":"https://api.github.com/users/lizongzeshunshun","html_url":"https://github.com/lizongzeshunshun","followers_url":"https://api.github.com/users/lizongzeshunshun/followers","following_url":"https://api.github.com/users/lizongzeshunshun/following{/other_user}","gists_url":"https://api.github.com/users/lizongzeshunshun/gists{/gist_id}","starred_url":"https://api.github.com/users/lizongzeshunshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizongzeshunshun/subscriptions","organizations_url":"https://api.github.com/users/lizongzeshunshun/orgs","repos_url":"https://api.github.com/users/lizongzeshunshun/repos","events_url":"https://api.github.com/users/lizongzeshunshun/events{/privacy}","received_events_url":"https://api.github.com/users/lizongzeshunshun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-10-31T04:56:37Z","updated_at":"2016-10-31T09:57:13Z","closed_at":null,"body":"Before firing issue, make sure you figured out the following common questions.\r\n\r\nPLEASE DO SEARCH FIRST.\r\n\r\n1. Check your ```-key xxx``` for at least 3 times, ***MAKE SURE*** both sides share the same secret.\r\nYES\r\n2. ```-nocomp, -datashard, -parityshard,  -key, -crypt``` ***must be the same*** on both side.\r\nYES\r\n3. Did you correctly set the ***-target*** on the server side?\r\nYES\r\n4. ***MAKE SURE*** ```telnet target port``` on your server successful(don't ask me why couldn't).\r\nYES\r\n5. Does your ***firewall allows UDP*** communications? (including your ISP Cable-Modem)\r\nYES\r\n6. Are you using the **same version** for both client & server\r\nYES\r\n7. Are you using the **latest release**?\r\nYES\r\n8. Which **OS** do you use?\r\nWindows 7 & Arch Linux\r\n9. Which end for this issue related to, **client or server**?\r\nServer\r\n\r\n从V20161028开始就有这个问题，运行过程中直接被Kill：\r\n\r\n```\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream closed\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream closed\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream opened\r\n2016/10/31 00:50:49 stream closed\r\nKilled\r\n```\r\n\r\n以前配置其它服务时也遇到过这种情况，猜测可能是CPU/内存占用过高。\r\n\r\nOpenVZ的vps, 内存是256MB.\r\n\r\n其它还做了一些变更不知是否和此问题有关\r\n1. Shadowsocks换成Dante\r\n2. 加密方式aes-128换成salsa20\r\n"},"comment":{"url":"https://api.github.com/repos/xtaci/kcptun/issues/comments/257254140","html_url":"https://github.com/xtaci/kcptun/issues/246#issuecomment-257254140","issue_url":"https://api.github.com/repos/xtaci/kcptun/issues/246","id":257254140,"user":{"login":"xtaci","id":2346725,"avatar_url":"https://avatars.githubusercontent.com/u/2346725?v=3","gravatar_id":"","url":"https://api.github.com/users/xtaci","html_url":"https://github.com/xtaci","followers_url":"https://api.github.com/users/xtaci/followers","following_url":"https://api.github.com/users/xtaci/following{/other_user}","gists_url":"https://api.github.com/users/xtaci/gists{/gist_id}","starred_url":"https://api.github.com/users/xtaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtaci/subscriptions","organizations_url":"https://api.github.com/users/xtaci/orgs","repos_url":"https://api.github.com/users/xtaci/repos","events_url":"https://api.github.com/users/xtaci/events{/privacy}","received_events_url":"https://api.github.com/users/xtaci/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T09:57:13Z","updated_at":"2016-10-31T09:57:13Z","body":"开大swap吧"}}
{"actor":{"display_login":"xtaci"}}