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
Rasa logs clogged with 1000s of entries after slots or templates are removed #4887
Comments
Additional information: In our case, this occurs with users that have a very long conversation history. This issue will likely be helped by limiting the length of tracker #3011 |
Noticed that this is the same error as #3294, which is closed, but apparently not resolved. |
Hi @tangochris ,
|
We are always running it with --debug.
The logs are on AWS CloudWatch and we're not yet piping them anywhere, so I don't have a quick way to download them. Here are the first 1000 log entries for a single second. Note this is for one user accessing the bot. rasa-production-20191204-160644.log
The user with the issue has 6500 events in their tracker.
Correct. If a user has no conversation history, the bot works fine for them. (Exception: if another user with history has accessed bot within last hour, the server is locked up and won't respond to anyone.) |
@wochinge Updated original title, issue and comments: the issue I described was not causing the slowness. Because there were 1000s of warnings and errors per second about non-existent slots and templates, it obscured the most important log entry. Once we got rid of the errors by re-adding the unused slots and templates to domain.yml, we noticed this:
Every time the DeLorean launched, there were no more log entries for 2 minutes (while Rasa was frozen). So this problem is the same as #3011. We have a user (our client) with 6500 events in their history. Every time they access the bot, it freezes while Tracker rebuilds their history. |
Hi @tangochris , thanks a lot for your detailed issue description and the information. 6500 events is a lot 🙂 |
Hi @tangochris , I'm running into the exact same issue that you were describing here:
I'm trying to understand whether I'm doing something wrong or whether this has not been fixed. Did you figure out how to deal with users that have slots in their conversation history that are not part of the model/domain anymore? My logs are clogged with these errors :( wochinge suggested here (#3011) to set Example cases for my problem:
|
Rasa version: 1.4.6
Rasa X version (if used & relevant): 0.22.2
Issue: If there is a slot or template in your conversation history that no longer exists, Rasa throws 1000s of warnings and errors per second.
Error (including full traceback):
The problem isn't so much the error, but that the error occurs thousands of times after one user action. Example error:
Command or request that led to error:
We removed 3 slots from our language model and renamed about 160 templates. When any user with those slots or the renamed templates in their history tries to access the bot, it plugs the logs with 1000s of entries per second.
The text was updated successfully, but these errors were encountered: