muzea / portfwd

A low performance port forwarding implementation
https://muzea.github.io/portfwd
20 stars 4 forks source link

CENTOS下: listen udp :5509: socket: too many open files #2

Closed j0hnnie closed 5 years ago

j0hnnie commented 5 years ago

config.json 配置如下:

{
    "proxy": {
        "5000/10000": "47.xxx.xxx.xxx:5000" 
    },
    "APIPort": ":3001"
}
j0hnnie commented 5 years ago

我通过 ulimit -n 512000 解决了,这个如果能集成到程序里就好了