# How to totally stop rasa server

**URL:** <https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330>\
**Category:** Rasa Open Source\
**Created:** [September 3, 2020, 8:13am UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330 "2020-09-03T08:13:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerekZ](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/derekz/32/10847_2.png) [@DerekZ](https://forum.rasa.com/u/DerekZ)\
**Post date:** [September 3, 2020, 8:13am UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/1 "2020-09-03T08:13:04Z")

</div>

hi, could anyone help me? i open the rasa server with rasa interactive, but it stuck maybe because i change the framework scripts’ paths in visulization.html. i have tried using ctrl-c, and kill the process, but it didn’t be killed and turned to defunct process. i also tried reinstall rasa and run it again. however, maybe it already stuck, the new one was also stuck. i am trying to get familiar with the rasa and i put it on a remote workstation thus i don’t have root permission. in this situation, what can i do to shut down or killing it?

---

<div class="post-metadata">

**Author:** ![a-anand-91119](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/a-anand-91119/32/10664_2.png) [@a-anand-91119](https://forum.rasa.com/u/a-anand-91119)\
**Post date:** [September 3, 2020, 8:15am UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/2 "2020-09-03T08:15:59Z")

</div>

on windows you can use Control + Pause / Break

---

<div class="post-metadata">

**Author:** ![DerekZ](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/derekz/32/10847_2.png) [@DerekZ](https://forum.rasa.com/u/DerekZ)\
**Post date:** [September 3, 2020, 8:19am UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/3 "2020-09-03T08:19:27Z")

</div>

i am on linux, it becomes defunct and unkillable as without root permission ☹

---

<div class="post-metadata">

**Author:** ![a-anand-91119](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/a-anand-91119/32/10664_2.png) [@a-anand-91119](https://forum.rasa.com/u/a-anand-91119)\
**Post date:** [September 3, 2020, 2:26pm UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/4 "2020-09-03T14:26:01Z")

</div>

defunct processes can also be killed. but an easier method would be to reboot the machine / vm.

If you want to know the steps to remove a defunct process do let me know

---

<div class="post-metadata">

**Author:** ![GilHennessey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilhennessey/32/23290_2.png) [@GilHennessey](https://forum.rasa.com/u/GilHennessey)\
**Post date:** [June 9, 2022, 2:45pm UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/5 "2022-06-09T14:45:41Z")

</div>

Hey Anand, Yes, I’d like to know to remove a defunct Rasa process in Linux - specifically rasa run --cors in this case, I had multiple instances of rasa run --cors and restarting the box is inconvenient. Thanks.

---

<div class="post-metadata">

**Author:** ![GilHennessey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilhennessey/32/23290_2.png) [@GilHennessey](https://forum.rasa.com/u/GilHennessey)\
**Post date:** [June 9, 2022, 3:13pm UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/6 "2022-06-09T15:13:03Z")

</div>

Anand, I found the answer - thanks anyway!

---

<div class="post-metadata">

**Author:** ![itsjhonny](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/itsjhonny/32/20201_2.png) [@itsjhonny](https://forum.rasa.com/u/itsjhonny)\
**Post date:** [June 9, 2022, 4:16pm UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/7 "2022-06-09T16:16:47Z")

</div>

I think you can kill processes like `kill -l ` without sudo permission

I think you need to create some bash file with kill commands and ask for someone with sudo permission to run this bash or `set chmod a+x` at this bash file

For now, i believe your best try is change rasa services ports. Action services use -p to chance port

```auto
rasa run actions -p 5056 

```

Rasa services use -p to chance port

```auto
-p 5006

```

Rasa X use --rasa-x-port to chance port

```auto
rasa x --rasa-x-port 5003 

```

Final command

```auto
rasa run actions -p 5056 & 
rasa x --rasa-x-port 5003 --no-prompt -m models --enable-api -p 5006 --log-file rasa.log --cors "*"

```

@Edit

> [@GilHennessey](#):
>
> Anand, I found the answer - thanks anyway!

Sorry, i didn’t see your last comment

What did you do? 😃

---

<div class="post-metadata">

**Author:** ![GilHennessey](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gilhennessey/32/23290_2.png) [@GilHennessey](https://forum.rasa.com/u/GilHennessey)\
**Post date:** [June 9, 2022, 5:54pm UTC](https://forum.rasa.com/t/how-to-totally-stop-rasa-server/33330/8 "2022-06-09T17:54:51Z")

</div>

Hi Jhonny, It’s been a while since I mucked around in linux, so I remembered that “ps aux | less” will get me all running processes and their pids. I just did that and then kill -9 pid. Thanks for answering my question so thoroughly, though. I really appreciate it. Gil
