lkml.org 
[lkml]   [2000]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Some questions about linux kernel.
Date
"A month of sundays ago James Sutherland wrote:"
> At the time, I suggested moving the grim-reaper code into a userspace
> daemon, to allow much greater/easier configurability. I can think of a few

I believe this is the correct solution. It implies exactly _one_
privileged task, whose job is to decide the privileges of all the rest.

> For the time being, though, the simple "kill the most likely suspect"
> patch should be a pretty good approximation.

Nope. It isn't. It's unacceptable in practice.

I run labs. The lab machines have to have defenses against
_themselves_. First line defence: system daemons restarted by
init if killed. Second line: daemons restarted by cron-based checks
(cron has to be maintained from init) at regular intervals. Third
line: software watchdog checking mem use and ready to pull machine
to runlevel s and back up again if conditions not rectified.

Even so, I get reports every couple of days from machines that
have obviously killed themselves. I just got one from a cron
telling me it had restarted the software watchdog, for goodness'
sake! (amongst others: rpc.nfsd and rpc.mountd seem to be favourites).

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.504 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site