Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 25 Mar 2001 00:46:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 25 Mar 2001 00:46:24 -0500 Received: from fluent1.pyramid.net ([206.100.220.212]:2872 "EHLO fluent1.pyramid.net") by vger.kernel.org with ESMTP id ; Sun, 25 Mar 2001 00:46:12 -0500 Message-Id: <4.3.2.7.2.20010324214339.00b228a0@mail.fluent-access.com> X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sat, 24 Mar 2001 21:45:01 -0800 To: From: Stephen Satchell Subject: Re: [PATCH] Prevent OOM from killing init In-Reply-To: <00d801c0b4bb$e7a04be0$0201a8c0@cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At 12:41 AM 3/25/01 +0100, you wrote: >If your box is running for example a mail server, and it appears that >another process is juste eating the free memory, do you really want to kill >the mail server, just because it's the main process and consuming more >memory and CPU than others? > >Well, fine, your OS is up, but your application is not here anymore. If you have a mission-critical application running on your box, add it to the inittab file with the RESPAWN attribute. That way, OOM killer kills it, init notices it, and init restarts your server. By the way, are the people working on the OOM-killer also working to avoid killing task 1? Satch - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/