# How to use pn.state.busy in multiple sessions

**URL:** <https://discourse.holoviz.org/t/how-to-use-pn-state-busy-in-multiple-sessions/8194>\
**Category:** Panel\
**Created:** [September 19, 2024, 6:40am UTC](https://discourse.holoviz.org/t/how-to-use-pn-state-busy-in-multiple-sessions/8194 "2024-09-19T06:40:47Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [September 25, 2024, 4:49pm UTC](https://discourse.holoviz.org/t/how-to-use-pn-state-busy-in-multiple-sessions/8194/7 "2024-09-25T16:49:35Z")

</div>

I suspect that you might have some things that are blocking the main thread (check out [Visual indicator to check if app is blocking main thread](https://discourse.holoviz.org/t/visual-indicator-to-check-if-app-is-blocking-main-thread/8246) to test). To get around that you might need to set `--nprocs 2` or something similar.

---

_[View the full topic](https://discourse.holoviz.org/t/how-to-use-pn-state-busy-in-multiple-sessions/8194)._
