You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it looks like the remote end is disconnected but because it's in non-blocking mode, the return value of 0 from read is valid (not interpreted as close connection).
Possible fixes:
put the file descriptors in the exception list
is a signal being blocked/ignored that should have been delivered when disconnected?
periodically call getpeername and verify it returns something sane (should fail in this case since the socket isn't connected).
The text was updated successfully, but these errors were encountered:
One other option might be to periodically disconnect and reconnect. This would additionally cause nodebot to better handle load-balanced IRC connections.
Using 100% CPU.
lsof output:
strace was a continual loop of:
So it looks like the remote end is disconnected but because it's in non-blocking mode, the return value of 0 from read is valid (not interpreted as close connection).
Possible fixes:
The text was updated successfully, but these errors were encountered: