kcptun
kcptun copied to clipboard
Reuse same connection?
I'm seeing more than 10k connection setup and experiencing "accept4: too many open files ", besides tuning up the system (i've tried to increase the file max and ulimited to 204800, but still no luck), I'm wondering if it could group up multiple connections to the same destination and re-use those connections?
if it's client, you can try lower -scavengettl. re-using connection is barely possible because of router NAT mapping. UDP is stateless, so the only way to check if a connection has terminated, IS TIME.