Skip to content

Create SMF service for epmd on SmartOS #187

Merged
merged 1 commit into from Jul 18, 2012

2 participants

@jaredmorrow

Riak is started and stopped on SmartOS using the SMF system. This system keeps track of every process started by a service.

This was causing difficulties with epmd because that process would not shut down on svcadm disable riak causing Riak to go into a "maintenance" mode.

This pull request creates a separate SMF service for epmd called "riak-epmd". This will do its best to start and stop epmd in a sane manner, allowing for Riak to be started and stopped also in sane way.

If an epmd process is active, but with no registered names, it is killed and restarted.

See: basho/riak_ee#75

@jaredmorrow jaredmorrow Create SMF service for EPMD on SmartOS
Riak is started and stopped on SmartOS using the [SMF system](http://wiki.joyent.com/display/smart/About+the+Service+Management+Facility). This system keeps track of every process started by a service.

This was causing difficulties with [epmd](http://www.erlang.org/doc/man/epmd.html) because that process would not shut down on `svcadm disable riak` causing Riak to go into a "maintenance" mode.

This pull request creates a separate SMF service for epmd called "riak-epmd".  This will do its best to start and stop epmd in a sane manner, allowing for Riak to be started and stopped also in sane way.

If an epmd process is active, but with no registered names, it is killed and restarted.

See: basho/riak_ee#/75
b00b663
@jaredmorrow

Merging based on riak_ee review.

@jaredmorrow jaredmorrow merged commit 3a4eff4 into 1.2 Jul 18, 2012
@bahamas10

awesome, excited for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.