Date: Fri, 20 Nov 2009 17:26:37 +1100 From: Peter Jeremy <peterjeremy@acm.org> To: Rui Paulo <rpaulo@gmail.com> Cc: Attilio Rao <attilio@freebsd.org>, gnn@freebsd.org, FreeBSD Arch <arch@freebsd.org> Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping Message-ID: <20091120062637.GA49534@server.vk2pj.dyndns.org> In-Reply-To: <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >>>=20 >>> 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 muc= h ? >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. --=20 Peter Jeremy --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksGNp0ACgkQ/opHv/APuIcBmACbBPYHpXB9Gx2LYogG5LBfFnzZ kE8AoKKD3Hh7ENZvZqaoOwDTkpqMhn/p =wStf -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091120062637.GA49534>