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
The API collector is consuming a lot of CPU, up to 100%, independent of the actual message load. strace shows, that the bot is always polling redis, for the stats (which are written after the process execution).
Make private members `__is_multithreadable` and `__collector_empty_process` protected members `_is_multithreadable` and `_collector_empty_process` to make them easily modifiable by Bot classes
fixes#2108
ghost
pushed a commit
that referenced
this issue
Sep 9, 2021
Make private members `__is_multithreadable` and `__collector_empty_process` protected members `_is_multithreadable` and `_collector_empty_process` to make them easily modifiable by Bot classes
fixes#2108
The API collector is consuming a lot of CPU, up to 100%, independent of the actual message load. strace shows, that the bot is always polling redis, for the stats (which are written after the
process
execution).The problem is, that the bot declares
intelmq/intelmq/bots/collectors/api/collector_api.py
Line 40 in f2b07f6
but this attribute is part of the
Bot
class:intelmq/intelmq/lib/bot.py
Line 114 in f2b07f6
and should therefore be called
_Bot__collector_empty_process
to be effective. And actually, this should just be called_collector_empty_process
The text was updated successfully, but these errors were encountered: