jeramyRR

jeramyRR

Release stop command isn't killing the epmd service

Hi all!

I’ve built my project using MIX_ENV=prod mix release and using the following command I start up my application:

nohup rel/ram_disk_daemon/bin/ram_disk_daemon start > "$OUT_FILE" 2>&1 &

This works fine, but when I go to stop it using the command below it stops my Elixir app, but it does not kill the epmd service.

rel/ram_disk_daemon/bin/ram_disk_daemon stop

Doing a ps -ef shows the erlang service still running.
rel/ram_disk_daemon/erts-13.1.1/bin/epmd -daemon

Is this a known bug, or is there something else I’m supposed to do (something else other than manually killing the process)?

Marked As Solved

josevalim

josevalim

Creator of Elixir

Erlang/Elixir does not kill epmd after running. If that’s a must for you, then you could have your own scripts to start the project and that shuts down epmd afterwards. If you are not using epmd or distribution, you can also set the release to not use distribution and then epmd won’t even start.

Last Post!

jeramyRR

jeramyRR

I’m not using distribution for this project so I’ll fix how I’m creating my release. I am using it for another though, so I’ll have to write those scripts. Thanks for the reply.

Where Next?

Popular in Questions Top

hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 55125 245
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49266 226
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42716 114
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement