# \#process\_mailbox

**URL:** https://forum.elixirforum.com/tag/process-mailbox/1661.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [What happens to a process mailbox if a machine restarts](https://forum.elixirforum.com/t/what-happens-to-a-process-mailbox-if-a-machine-restarts/60427)

<div class="topic-metadata">

**Author:** [@yarrichar](https://forum.elixirforum.com/u/yarrichar)\
**Replies:** 11\
**Last updated:** [November 14, 2026, 3:53pm UTC](https://forum.elixirforum.com/t/what-happens-to-a-process-mailbox-if-a-machine-restarts/60427 "2026-11-14T15:53:28Z")

</div>

I’m very new to Elixir, so sorry if this is a silly question: I am wondering what happens to the mailbox of a process when the machine it’s running on dies / restarts / etc? I don’t want to lose messages obviously. Are…

---

## [Debugging stuck zombie process](https://forum.elixirforum.com/t/debugging-stuck-zombie-process/54301)

<div class="topic-metadata">

**Author:** [@mgwidmann](https://forum.elixirforum.com/u/mgwidmann)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 2:04am UTC](https://forum.elixirforum.com/t/debugging-stuck-zombie-process/54301 "2023-03-10T02:04:09Z")

</div>

I have a Phoenix LiveView application which is using a fork of WebSockex (branch is here) to listen on a websocket for data incoming and then display it on the page. My listener process occasionally becomes a zombie and …

---

## [Bounded queue, Semaphore, GenStage relationship](https://forum.elixirforum.com/t/bounded-queue-semaphore-genstage-relationship/43073)

<div class="topic-metadata">

**Author:** [@smanza](https://forum.elixirforum.com/u/smanza)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 3:47pm UTC](https://forum.elixirforum.com/t/bounded-queue-semaphore-genstage-relationship/43073 "2021-10-13T15:47:30Z")

</div>

Hello . I’m analyzing the concurrency principles for the Erlang processes and their mailbox. So I know each message is processed one by one which seems a bit like a mutex in the concurrency language. However there are…

---

## [Understanding sending messages to processes](https://forum.elixirforum.com/t/understanding-sending-messages-to-processes/35977)

<div class="topic-metadata">

**Author:** [@Ettu\_R](https://forum.elixirforum.com/u/Ettu_R)\
**Replies:** 3\
**Last updated:** [December 4, 2020, 12:02pm UTC](https://forum.elixirforum.com/t/understanding-sending-messages-to-processes/35977 "2020-12-04T12:02:21Z")

</div>

I have following simple test code to try how to send messages between process. The way I understand my code is : I spawn 2 separate processes Processes are executing functions where they should be awaiting a message I…

---

## [Get "Last Message" during rescue inside a GenServer](https://forum.elixirforum.com/t/get-last-message-during-rescue-inside-a-genserver/27858)

<div class="topic-metadata">

**Author:** [@jdobrzanski](https://forum.elixirforum.com/u/jdobrzanski)\
**Replies:** 4\
**Last updated:** [January 3, 2020, 9:44pm UTC](https://forum.elixirforum.com/t/get-last-message-during-rescue-inside-a-genserver/27858 "2020-01-03T21:44:04Z")

</div>

There is a very useful error log that prints if I don’t recuse an exception from within a GenServer. GenServer {\[GENSERVER NAME HERE\]} terminating ... Last message (from #PID\[PID HERE\]): \[ARGS TO THE HANDLE CALL HERE\]…

---

## [Show all messages in process mailbox assert\_receive](https://forum.elixirforum.com/t/show-all-messages-in-process-mailbox-assert-receive/23759)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 1\
**Last updated:** [July 6, 2019, 2:20pm UTC](https://forum.elixirforum.com/t/show-all-messages-in-process-mailbox-assert-receive/23759 "2019-07-06T14:20:47Z")

</div>

Background I am running a few tests and I want to make sure a process of mine receives a given message. Now the tests are failing, because assert\_receive tells me I didn’t receive the proper message and then it shows me …
