{"action":"created","issue":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/230","labels_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/230/comments","events_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/230/events","html_url":"https://github.com/shadowsocks/shadowsocks-libev/issues/230","id":54699542,"number":230,"title":"ss-redir crash","user":{"login":"vpnrouter","id":10580073,"avatar_url":"https://avatars.githubusercontent.com/u/10580073?v=3","gravatar_id":"","url":"https://api.github.com/users/vpnrouter","html_url":"https://github.com/vpnrouter","followers_url":"https://api.github.com/users/vpnrouter/followers","following_url":"https://api.github.com/users/vpnrouter/following{/other_user}","gists_url":"https://api.github.com/users/vpnrouter/gists{/gist_id}","starred_url":"https://api.github.com/users/vpnrouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpnrouter/subscriptions","organizations_url":"https://api.github.com/users/vpnrouter/orgs","repos_url":"https://api.github.com/users/vpnrouter/repos","events_url":"https://api.github.com/users/vpnrouter/events{/privacy}","received_events_url":"https://api.github.com/users/vpnrouter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-18T15:22:20Z","updated_at":"2015-01-18T23:32:16Z","closed_at":"2015-01-18T23:32:16Z","body":"Hi there,I've ported ss-redir(1.6.1-1) on mt7620n chipset router one month ago,not openwrt platform，today one of my partners reported a rarely seen bug.It seems ss-redir opened too much sockets and not close them,this exceeded process resource limit.The system log keeps showing messages such as \"ss-redir: accept:too many open files\"  \"kernel: TCP:too many of orphaned sockets\".He had to reboot the router to work properly.\r\nMy partner didn't download huge amount of data via ss,just browse websites like youtube,and this bug happened randomly,the reason or in what condition caused this bug is totally unknown. Please work on this issue.And I wonder if you can make ss-server support multiple ports and passwords just like the original python version? \r\nThanks for maintaining this C version ss project! \r\nBest regards!\r\nI have a log screenshot from that partner as following:\r\n![qq 20150118215842](https://cloud.githubusercontent.com/assets/10580073/5792656/efe13204-9f5e-11e4-87c4-364df75b7543.jpg)"},"comment":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/comments/70432151","html_url":"https://github.com/shadowsocks/shadowsocks-libev/issues/230#issuecomment-70432151","issue_url":"https://api.github.com/repos/shadowsocks/shadowsocks-libev/issues/230","id":70432151,"user":{"login":"madeye","id":627917,"avatar_url":"https://avatars.githubusercontent.com/u/627917?v=3","gravatar_id":"","url":"https://api.github.com/users/madeye","html_url":"https://github.com/madeye","followers_url":"https://api.github.com/users/madeye/followers","following_url":"https://api.github.com/users/madeye/following{/other_user}","gists_url":"https://api.github.com/users/madeye/gists{/gist_id}","starred_url":"https://api.github.com/users/madeye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madeye/subscriptions","organizations_url":"https://api.github.com/users/madeye/orgs","repos_url":"https://api.github.com/users/madeye/repos","events_url":"https://api.github.com/users/madeye/events{/privacy}","received_events_url":"https://api.github.com/users/madeye/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T23:32:16Z","updated_at":"2015-01-18T23:32:16Z","body":"Update to the latest version and try again."}}