For no apparent reason the bots begin to incorrectly report channel users, which is required to periodically calculate a new limit. I did suspect the frequent netsplits that continue to plague DALnet but now I am unconvinced. This following channel events demonstrate.
A netsplit did occur some 9 minutes before the above events, which split off 7 users including the bot. All but one returned some 2 minutes later including the bot.[18:44] * Colossus sets mode: +l 26
[18:48] * +giobbe29 (giobbe29@151.83.205.183) Quit (Quit: )
[18:48] * Colossus sets mode: +l 17
After the error occured I used the following Tcl command to determine what the bot returned from calculating channel users. The actual numbers were 19, including the bot itself.
Ignore the fact that it returned a Tcl error, that's simply the syntax I used. Look at the number 11. How can that be?.tcl [llength [chanlist #atlantis]]
Tcl error: invalid command name "11"
I then restarted the bot, which always corrects the fault.
Has anyone else experienced this or does anyone have an explanation for it?tcl [llength [chanlist #atlantis]]
Tcl error: invalid command name "19"
The same script has been used for many years, only yielding problems fairly recently. The only things that have changed in that time are the bot version (currently the bot is 1.6.20) and presumably DALnet's bahamut and services code.