From b3a9b7f0a279e24d6829896c86b9ff51b0303d8e Mon Sep 17 00:00:00 2001 From: John Sonnenschein Date: Fri, 18 Mar 2011 12:24:57 -0700 Subject: [PATCH] OS-275 smf behavior around going to maint causes problems. --- man/man/man1m/svc.startd.1m | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/man/man/man1m/svc.startd.1m b/man/man/man1m/svc.startd.1m index d62dc5f6f..39c84db0d 100644 --- a/man/man/man1m/svc.startd.1m +++ b/man/man/man1m/svc.startd.1m @@ -1,5 +1,6 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. +.\" Copyright 2011, Joyent Inc .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] @@ -292,6 +293,21 @@ If \fBsingle_instance\fR is set to true, \fBsvc.startd\fR only allows one instan .sp .LP Additionally, \fBsvc.startd\fR managed services can define the optional properties listed below in the \fBstartd\fR property group. +.sp +.ne 2 +.mk +.na +\fB\fBstartd/critical_failure_count\fR +.ad +.br +.na +\fBstartd/critical_failure_period\fR\fR +.ad +.sp .6 +.RS 4n +The \fBcritical_failure_count\fR and \fBcritical_failure_period\fR properties together specify the maximum number of service failures allowed in a given time interval before \fBsvc.startd\fR transitions the service to maintenance. If the number of failures exceeds \fBcritical_failure_count\fR in any period of \fBcritical_failure_period\fR seconds, \fBsvc.startd\fR will transition the service to maintenance. +.RE + .sp .ne 2 .mk