epmd daemon runs after riak stops

Jared Morrow jared at basho.com
Tue Oct 16 17:05:09 EDT 2012


David,

You can always add a line to any script you use to stop riak that is
something like

<somepath>/riak/%ERTS_PATH%/bin/epmd -kill

It should be trivial to add that to 'riak stop' if you indeed want that.

-Jared


On Tue, Oct 16, 2012 at 10:49 AM, Ciprian Dorin Craciun <
ciprian.craciun at gmail.com> wrote:

> On Tue, Oct 9, 2012 at 12:31 AM, David Lowell <dave at go2ctv.com> wrote:
> > I would like to understand better why '/etc/init.d/riak stop' stops riak,
> > but the 'epmd' daemon continues to run. I would have hoped that when I
> > administratively stop riak on a node that all its various cogs would stop
> > turning.
> >
> > Furthermore, I'm not clear on how the lifecycle of epmd is controled. Is
> it
> > started by any Erlang process that runs, and never stopped?
> >
> > I would appreciate any insights folks could offer. Thanks!
>
>     Indeed this is a very annoying Erlang behaviour, especially when
> running in container environments or highly controlled / automated
> ones.
>
>     If you are interested in finding more about both the "details" and
> possible hacks, please see my previous posts (both here and on Erlang
> mailing list):
>
> http://lists.freedesktop.org/archives/systemd-devel/2012-August/006273.html
>
> http://lists.basho.com/pipermail/riak-users_lists.basho.com/2012-June/008608.html
>     http://erlang.org/pipermail/erlang-questions/2011-October/062004.html
>     http://erlang.org/pipermail/erlang-questions/2011-October/061893.html
>
>     In short the solution is:
>     * trick the erlang process not to start epmd itself; (see the last
> link above;)
>     * run epmd yourself as a separate service;
>
>     Ciprian.
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20121016/62dbc78d/attachment.html>


More information about the riak-users mailing list