Skip to content

remove contract specification from SMF manifests (solaris)#63

Merged
jaredmorrow merged 1 commit intobasho:masterfrom
bahamas10:dave-error-on-signal-and-dump
Jun 21, 2013
Merged

remove contract specification from SMF manifests (solaris)#63
jaredmorrow merged 1 commit intobasho:masterfrom
bahamas10:dave-error-on-signal-and-dump

Conversation

@bahamas10
Copy link
Contributor

SMF uses the property (ignore_error), that this commit removes to determine how
the service should be affected under failure conditions.
This commit makes it so SMF reverts to its default behavior
to consider a service as "failed" if any of the processes
that make up the service dump core, or if any of the processes
receive a fatal signal originating outside of the service (ie.
if a processes raises its own signal or sends a signal to another
process within the same service that doesn't cause a
core dump, SMF ignores it)

It is in my experience running Riak in production at Voxer, if
a core dump is generated, the service will think riak is alive and
healthy, even though it is completely unresponsive.

This change makes it so any fatal signal to any of the processes
controlled by SMF for riak will trigger SMF to restart the service,
as well as if any of the processes dump core

SMF uses the property, that this commit removes to determine how
the service should be affected under failure conditions.
This commit makes it so SMF reverts to its default behavior
to consider a service as "failed" if *any* of the processes
that make up the service dump core, or if *any* of the processes
receive a fatal signal originating outside of the service (ie.
if a processes raises its own signal or sends a signal to another
process within the same service that doesn't cause a
core dump, SMF ignores it)

It is in my experience running Riak in production at Voxer, if
a core dump is generated, the service will think riak is alive and
healthy, even though it is completely unresponsive.

This change makes it so any fatal signal to any of the processes
controlled by SMF for riak will trigger SMF to restart the service,
as well as if any of the processes dump core
@jaredmorrow
Copy link
Contributor

+1, thanks @bahamas10

jaredmorrow added a commit that referenced this pull request Jun 21, 2013
remove contract specification from SMF manifests (solaris)
@jaredmorrow jaredmorrow merged commit 7208d95 into basho:master Jun 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants