From owner-freebsd-rc@FreeBSD.ORG Fri Mar 18 01:24:43 2011 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C8011065677 for ; Fri, 18 Mar 2011 01:24:43 +0000 (UTC) (envelope-from Harlan.Stenn@pfcs.com) Received: from gwc.pfcs.com (gwc.pfcs.com [70.88.151.226]) by mx1.freebsd.org (Postfix) with ESMTP id 465C38FC0C for ; Fri, 18 Mar 2011 01:24:43 +0000 (UTC) Received: from spike.pfcs.com (localhost.pfcs.com [127.0.0.1]) by gwc.pfcs.com (Postfix) with ESMTP id 1DE4E28438; Thu, 17 Mar 2011 21:05:33 -0400 (EDT) To: freebsd-rc@freebsd.org From: Harlan Stenn X-Face: "csXK}xnnsH\h_ce`T#|pM]tG, 6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n:c(Cc* $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C d X-Mailer: MH-E 7.4.2; nmh 1.2; XEmacs 21.4 (patch 22) Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Date: Thu, 17 Mar 2011 21:05:33 -0400 Sender: Harlan.Stenn@pfcs.com Message-Id: <20110318010533.1DE4E28438@gwc.pfcs.com> Cc: Harlan.Stenn@pfcs.com Subject: RC system and monit X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 01:24:43 -0000 I'm starting to use 'monit' at more sites, to monitor essential services and restart them if there is a problem. The thing is, monit uses the existing RC framework to start and stop these services, so when a machine is first started the RC system we have both the RC and monit starting these services, and I have seen things get Ugly (processes abort while there are multiple simultaneous attempts to start them, with the result that monit stops trying and the processes do not get started). I figure there are several ways to crack this problem, and I'd bet that other folks have thought about it already and might even have solutions. Harlan