Re: Behavior under swap catastrophe?

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
24 Feb 1997 11:50:38 +0100


david parsons <o.r.c@p.e.l.l.c.h.i.i.l.u.s> writes:

|> In article <linux.kernel.e5lnbi.5v7@bigred.inka.de>,
|> Olaf Titz <olaf@bigred.inka.de> wrote:
|>> Rudolf Leitgeb <leitgeb@variable.stanford.edu> wrote:
|>>> If init dies, you get logged out and the offensive process (the one that
|>>> eats all the memory) is terminated. But usually at least the operating
|>>> system survives. The only way to prevent a process from eating too much
|>>
|>> If init ever dies, the system is toast and needs the reset button.

|> Hmm? It's been my experience that if /sbin/init ever dies, the kernel
|> spits out a printk and restarts it; I don't believe this behavior has
|> changed in recent kernels.

/sbin/init never dies, ie. stays in zombie state forever, because noone
wait(2)'s for it.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"