# Remove inactive user session

**URL:** <https://forum.rasa.com/t/remove-inactive-user-session/51884>\
**Category:** Rasa Open Source\
**Created:** [March 10, 2022, 8:52pm UTC](https://forum.rasa.com/t/remove-inactive-user-session/51884 "2022-03-10T20:52:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![simo](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@simo](https://forum.rasa.com/u/simo)\
**Post date:** [March 10, 2022, 8:52pm UTC](https://forum.rasa.com/t/remove-inactive-user-session/51884/1 "2022-03-10T20:52:49Z")

</div>

Hi,   
I’m developing a rasa bot and I would like to know how to handle inactive users and their related conversations (I’m using rasa 2.8).   
That’s not clear from the rasa documentation how they could be removed once we realized they are not active anymore from a while. I’m interested to understand if there is the need to handle inactive users or if is it already handle by rasa under the hood.   
Maybe the keywords /session\_start or /stop could be useful to notify to rasa bot we are not interested in that user anymore … it’s not clear how rasa handles an increasing number of inactive users that interact once or twice with the bot and then disappear.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [March 10, 2022, 11:24pm UTC](https://forum.rasa.com/t/remove-inactive-user-session/51884/2 "2022-03-10T23:24:15Z")

</div>

Removed from where, the tracker store? Not sure why you should care about that because there’s no real resource being used except a little storage of some json data.

---

<div class="post-metadata">

**Author:** ![simo](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@simo](https://forum.rasa.com/u/simo)\
**Post date:** [March 11, 2022, 8:07am UTC](https://forum.rasa.com/t/remove-inactive-user-session/51884/3 "2022-03-11T08:07:54Z")

</div>

Hi Greg,   
thank you for the answer.   
Effectively while debugging rasa action all with json the conversation of the users are in the tracer.   
My doubt was related in case we 10’000 users interacting daily with rasa bot, just one or twice for a form reservation (we could say 4 dialogues for each task).   
After 5 years the json should contains: 4 [dialogues] \* 10’000 [users] \* 365 [days] \* 5 [years].   
From here my doubt of what could be done to clean this unused resource.   
When you write little storage, are you meaning that rasa bot saves on disk or that all the converasations remains in memory?

---

<div class="post-metadata">

**Author:** ![simo](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@simo](https://forum.rasa.com/u/simo)\
**Post date:** [March 11, 2022, 8:11am UTC](https://forum.rasa.com/t/remove-inactive-user-session/51884/4 "2022-03-11T08:11:14Z")

</div>

Could the keywords ‘/session\_start’ or ‘/session\_stop’ helps to remove a specific user in the tracker store of rasa?
