https://bugzilla.wikimedia.org/show_bug.cgi?id=50485

--- Comment #3 from Ori Livneh <[email protected]> ---
See also:
https://bitbucket.org/jaraco/irc/issue/16/irc-client-ping-timeout-https://bitbucket.org/jaraco/irc/issue/1/library-does-not-detect-that-connection-is

Additional notes:
* Tends to happen during the weekend.
* logmsgbot uses the same library, does not set a keepalive, and remains
reliably connected.
* morebots is hosted on wikitech-static, which is hosted on Rackspace 

This supports the theory that this is caused by an aggressive TCP idle timeout
that the library is not sufficiently robust to handle.

The upstream package maintainer doesn't seem especially interested in chasing
this down or in documenting his changes properly, so I don't think it'd be
worth the effort to update the Debian package to pull in his latest changes. I
think we should implement something very crude but effective, like having the
bot keep a 5-minute timer that resets whenever any data at all is read from the
socket. If the timer reaches 0, the bot should kill itself and have upstart or
init respawn it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to