-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exceeding dumping #994
Comments
See also #574 #869 #870 If we implement this But primarily we should fix the bugs in the bots themselves so this can't happen at all. |
Thanks, I should've search for the error in the issues more thoroughly before. |
In the case of an error, the raw message gets dumped.
It happened to me that the same message got dumped again and again (due to an error in alien-vault-otx). When the dump exceeded 8 GB, the json module wasn't able to load it and
bot.py
stucked atdump_data = json.load(fp)
. In the morning, the bot was stopped, no hint in logs, nothing nowhere.In the case of dump, shouldn't we check for exactly the same data in the file first? We may add a field
occurences_number
or so to the dumpfile json.The text was updated successfully, but these errors were encountered: