[PATCH] Protect inetd and cron from being killed under high-pressure swapping

Peter Jeremy peterjeremy at acm.org
Fri Nov 20 06:26:43 UTC 2009


On 2009-Nov-17 21:35:34 +0000, Rui Paulo <rpaulo at 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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20091120/10222958/attachment.pgp


More information about the freebsd-arch mailing list