samhocevar / rinetd

📡 TCP/UDP port redirector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

socket(): Too many open files

alifiroozi80 opened this issue · comments

commented

Hello,
I have used the rinet for quite a while now.

I use rite on a server to redirect users to another server.

But when I see its logs, it shows:

Jan 15 11:19:32 vpn rinetd[10473]: socket(): Too many open files

And its effect on the speed.

But when I restart the rite, its performance is good until that error shows up again!

How can I fix it?


PS: I Increased my limit on open files on ubuntu, but nothing changed.


$ rinetd --version
rinetd 0.62.1sam
commented

It seems you can simply enlarge the openfile limit of your system using ulimit -n