# The many and varied ways to kill an OTP Process

**URL:** <https://forum.devtalk.com/t/the-many-and-varied-ways-to-kill-an-otp-process/10056>\
**Category:** Blogs/Articles/Talks/Podcasts\
**Tags:** elixir, otp, blog-post\
**Created:** [31 May 2021 14:16 UTC](https://forum.devtalk.com/t/the-many-and-varied-ways-to-kill-an-otp-process/10056 "2021-05-31T14:16:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulanthonywilson](https://forum.devtalk.com/user_avatar/forum.devtalk.com/paulanthonywilson/32/2494_2.png) [@paulanthonywilson](https://forum.devtalk.com/u/paulanthonywilson)\
**Post date:** [31 May 2021 14:16 UTC](https://forum.devtalk.com/t/the-many-and-varied-ways-to-kill-an-otp-process/10056/1 "2021-05-31T14:16:15Z")

</div>

> **[The many and varied ways to kill an OTP Process](https://furlough.merecomplexities.com/elixir/otp/2021/05/31/the-many-and-varied-ways-to-kill-an-otp-process.html)**
>
> The many and varied ways to kill an OTP Process Summary When you come to think about it, there’s lots of different ways to kill an OTP process. Each has its own subleties in what behaviour is displayed, even without bringing in the impact on linked...

This is an overview of different ways to try and kill an OTP process (in Elixir) and the behaviour to expect when that happens. I know this is fairly basic stuff, but it’s the kind of thing I find myself forgetting and having to recheck, and the documentation I know about is a bit scattered.

I hope to follow up with the impact on on linked and monitoring processes.

As a bonus, the post is an executable [LiveBook](https://github.com/elixir-nx/livebook) page, which you can download and execute yourself.

---

<div class="post-metadata">

**Author:** ![mafinar](https://forum.devtalk.com/user_avatar/forum.devtalk.com/mafinar/32/723_2.png) [@mafinar](https://forum.devtalk.com/u/mafinar)\
**Post date:** [31 May 2021 15:58 UTC](https://forum.devtalk.com/t/the-many-and-varied-ways-to-kill-an-otp-process/10056/3 "2021-05-31T15:58:50Z")

</div>

This is the first “LiveBook as a Post” I have come across. That was my first reaction to LiveBook- OMG now we can download executable write-ups!

Great post, btw! I am half-way reading.

---

<div class="post-metadata">

**Author:** ![paulanthonywilson](https://forum.devtalk.com/user_avatar/forum.devtalk.com/paulanthonywilson/32/2494_2.png) [@paulanthonywilson](https://forum.devtalk.com/u/paulanthonywilson)\
**Post date:** [1 June 2021 13:55 UTC](https://forum.devtalk.com/t/the-many-and-varied-ways-to-kill-an-otp-process/10056/4 "2021-06-01T13:55:52Z")

</div>

> [@mafinar](#):
>
> This is the first “LiveBook as a Post” I have come across. That was my first reaction to LiveBook- OMG now we can download executable write-ups!

Yeah, I thought it was worth experimenting with and fairly easy to quickly set up with [Jekyll](https://jekyllrb.com); I’ll do a quick write-up of that when I get the chance.

It’s not quite as satisfying as I’d like, though. It would be nice to capture the output in the static/blog version, for instance.

I have seen talks in which the speaker used [Jupyter Notebooks](https://jupyter.org) instead of slides / live coding which worked quite well. I’d expect to see more of that with LiveBook in the future.
