From owner-freebsd-arch@FreeBSD.ORG Wed Nov 25 17:14:40 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C964106566C for ; Wed, 25 Nov 2009 17:14:40 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outU.internet-mail-service.net (outu.internet-mail-service.net [216.240.47.244]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA8D8FC16 for ; Wed, 25 Nov 2009 17:14:40 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D90C29E3DF; Wed, 25 Nov 2009 09:14:39 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id D6F7D2D601A; Wed, 25 Nov 2009 09:14:38 -0800 (PST) Message-ID: <4B0D65FE.9020603@elischer.org> Date: Wed, 25 Nov 2009 09:14:38 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: ticso@cicely.de References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> <20091120062637.GA49534@server.vk2pj.dyndns.org> <20091125144208.GZ20716@cicely7.cicely.de> In-Reply-To: <20091125144208.GZ20716@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rui Paulo , Attilio Rao , gnn@freebsd.org, FreeBSD Arch Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2009 17:14:40 -0000 Bernd Walter wrote: > On Fri, Nov 20, 2009 at 05:26:37PM +1100, Peter Jeremy wrote: >> On 2009-Nov-17 21:35:34 +0000, Rui Paulo wrote: >>>> At Mon, 16 Nov 2009 16:02:08 +0100, >>>> Attilio Rao wrote: >>>>> This simple patch protects inetd and cron from being killed under >>>>> high-pressure swapping systems: >>>>> http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff >>> Yes, the idea is good, but should we really trust inetd and crond that much ? >>> Are there other daemons that do this? >> As an alternative approach, how about placing a wrapper process around >> them which will restart them if they die? init(8) unofficially provides >> this (I've used it in the past) - maybe we should formalise this. > > init(8) is nice, but not an option within jails. we are considering whether a jail should have its own init... >