[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two naive questions and a suggestion
>>>>> "jfm2" == jfm2 <jfm2@club-internet.fr> writes:
jfm2> Say the Web or database server can be deemed important enough for it
jfm2> not being killed just because some dim witt is playing with the GIMP
jfm2> at the console and the GIMP has allocated 80 Megs.
jfm2> More reallistically, it can happen that the X server is killed
jfm2> (-9) due to the misbeahviour of a user program and you get
jfm2> trapped with a useless console. Very diificult to recover. Specially
jfm2> if you consider inetd could have been killed too, so no telnetting.
jfm2> You can also find half of your daemons, are gone. That is no mail, no
jfm2> printing, no nothing.
initd is never killed. Won't & can't be killed.
initd should be configured to restart all of your important daemons if
they go down.
Currently most unix systems ( I don't think i'ts linux specific) are
misconfigured so they don't automatically restart their important
daemons if they go down.
jfm2> In situation like those above I would like Linux supported a concept
jfm2> like guaranteed processses: if VM is exhausted by one of them then try
jfm2> to get memory by killing non guaranteed processes and only kill the
jfm2> original one if all reamining survivors are guaranteed ones.
jfm2> It would be better for mission critical tasks.
Some. But it would be simple and much healthier for tasks that can be
down for a little bit to have initd restart the processes after they
go down. That allows for other cases when the important system
daemons goes down, is more robust, and doesn't require kernel changes.
Eric
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org