-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: Accept error: accept tcp [::]:8086: accept4: too many open files #47
Comments
This happens when CptHook cannot "take the event out of channel", i.e. send to IRC. See this gist for a simple config and the scripts mentioned below. CptHook -config cpthook.yml &
send_test_messages.sh 0.5s If for whatever reason no messages can be passed to the IRC server at all, this problem is exacerbated and the sockets accumulate until the user limit is hit, as seen in the OP. One of the reasons why a message would not be passed on to the IRC server (apart from abysmal performance) would be that the connection to the server was never successful. You can easily test this by blackholing all traffic to the respective server and then starting CptHook: blackhole.sh add irc.host
CptHook -config cpthook.yml &
send_test_messages.sh Even if you disable the blackhole later, CptHook will not reconnect. blackhole.sh del irc.host This condition may occur during early boot if CptHook is started before networking is fully set up. |
Hey @deraffe |
Heyho @fleaz – any updates on this? |
Somewhere cpthook leaks sockets.
The text was updated successfully, but these errors were encountered: