Block messages that are repeating themselves (plugin request)
phenomenon
On IRC there is a certain phenomenon which I do not know how to define.
What is happening is that when an (1) IRC server is down or the (2) Transport to IRC has a connection problem (or whatever problem it might be) after everything went fine before the problem, then the user gets a flood of WHOIS or CCTP (whatever the name of it is) requests from its own username on the IRC server/transport.
When it happened, Gajim consumed 30% to 40% of CPU and~99 MB of RAM
P.s. after cleaning the duplicated the 50 thousand plus messages Gajim is now writing to disk (I/O) at the rate of 400kb to 1MB before it is fully starting up :-(
background analysis
I do not know the exact reason of why it is happening.
implementation recommendation
Blocking the messages + a dialog that will point out that "it seem thart you are getting spam or a problem with the connection of the IRC transport against the server has occurred" -- "would you like to receive more messages from this contact?"