I’m currently using rasa 2.X and been working on developing tests for my chatbot.
I’ve prepared a python script that sends multiple sentences using the POST command (each sentence is sent than a “/restart” is sent to clear slots and then a new sentence is sent etc.)
I run the server using the command rasa run --enable-api and call the script using python -m "script name".
When I run the script the first time it goes very fast (20s for120 sentences). The second run however takes 1min30s. The more runs I do (with the same sentences) the slower it gets. When I hit Ctrl + C on the rasa server and retype rasa run --enable-api things get fine.
Could anyone explain to me why this happens and how to solve it without having to restart the server each time.
Did all of that, found no issues in the logs. The server gets slower for each new request, looks like maybe Rasa have some hidden function to prevent DDoS attacks or a cache that gets filled and thus become harder to access/retrieve data. Any clues?
The debug file is huge (thousands of lines for each iteration → 120 sentences sent to the bot)
When I launch again the bot, it repeats the same lines, just more slowly this time.
I don’t know how to retrieve the debug files, It shows only a limited number of line (n-last lines)