# Issue when running RASA with multiple SANIC\_WORKERS

**URL:** <https://forum.rasa.com/t/issue-when-running-rasa-with-multiple-sanic-workers/61358>\
**Category:** Rasa Open Source\
**Created:** [March 18, 2024, 6:41am UTC](https://forum.rasa.com/t/issue-when-running-rasa-with-multiple-sanic-workers/61358 "2024-03-18T06:41:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavan](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pavan](https://forum.rasa.com/u/pavan)\
**Post date:** [March 18, 2024, 6:41am UTC](https://forum.rasa.com/t/issue-when-running-rasa-with-multiple-sanic-workers/61358/1 "2024-03-18T06:41:34Z")

</div>

We have the RASA and ACTION service Deployed in Kubernetes in as separate service. We are running RASA with 5 SANIC\_WORKERS.

When there is single SANIC\_WORKER, different sessions are handled and their is no issue in that. But with multiple SANIC\_WORKER, when different request are made within the same session, the slot values are not persisting, i.e., when the initial request is made, it is handled by a single sanic worker and we are able to get the slot value but when second request is made within the same session, If that request is handled by other sanic worker, we are getting **NULL** or **NONE** slot value.

Below is the action code where we are getting null value :

class SRImoreInfo(Action):

```
def name(self) -> Text:
    return "display_SRI_more_info"

def run(self, dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
    user_id = tracker.get_slot("user_id")
    user_link = credentials.server_url + str(user_id)
    print("user_link", user_link)
    dispatcher.utter_message(text = "[Click Here](" + user_link + ") for more information.")
    return []

```

In the above code, we are receiving null value in tracker.get\_slot(“user\_id”) when running RASA with 5 SANIC\_WORKER.

Please share your thoughts what wrong am I doing? Let me know If any further information is required for better understanding. Any sort of suggestion will be appreciated.

---

<div class="post-metadata">

**Author:** ![IgNoRaNt23](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ignorant23/32/8029_2.png) [@IgNoRaNt23](https://forum.rasa.com/u/IgNoRaNt23)\
**Post date:** [March 21, 2024, 12:40pm UTC](https://forum.rasa.com/t/issue-when-running-rasa-with-multiple-sanic-workers/61358/2 "2024-03-21T12:40:16Z")

</div>

Which tracker- and lock store are you using? Multiple workers dont work with in memory stores
