From f7ec3b1f041dfcbb87d1af8a9d437a1bd6e2e8b1 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Mon, 17 Jun 2013 20:34:50 -0700 Subject: [PATCH] remove contract specification from SMF manifests (solaris) 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 --- priv/templates/smartos/manifest.xml | 4 ---- priv/templates/smartos/manifest131.xml | 4 ---- priv/templates/smartos/manifest18.xml | 4 ---- 3 files changed, 12 deletions(-) diff --git a/priv/templates/smartos/manifest.xml b/priv/templates/smartos/manifest.xml index 8c8d07e..caa0c3e 100644 --- a/priv/templates/smartos/manifest.xml +++ b/priv/templates/smartos/manifest.xml @@ -27,10 +27,6 @@ - - - -