Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2009 15:42:08 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Peter Jeremy <peterjeremy@acm.org>
Cc:        Rui Paulo <rpaulo@gmail.com>, Attilio Rao <attilio@freebsd.org>, FreeBSD Arch <arch@freebsd.org>, gnn@freebsd.org
Subject:   Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping
Message-ID:  <20091125144208.GZ20716@cicely7.cicely.de>
In-Reply-To: <20091120062637.GA49534@server.vk2pj.dyndns.org>
References:  <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> <20091120062637.GA49534@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 20, 2009 at 05:26:37PM +1100, Peter Jeremy wrote:
> On 2009-Nov-17 21:35:34 +0000, Rui Paulo <rpaulo@gmail.com> 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.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091125144208.GZ20716>