Re: [PATCH] oom killer (Core)

From: Andrea Arcangeli (andrea_at_suse.de)
Date: 12/03/04

  • Next message: Lukas Hejtmanek: "Re: Kernel 2.6.9 Multiple Page Allocation Failures"
    Date:	Fri, 3 Dec 2004 00:47:23 +0100
    To: Thomas Gleixner <tglx@linutronix.de>
    
    

    On Thu, Dec 02, 2004 at 08:24:10PM +0100, Thomas Gleixner wrote:
    > because oom killed sshd. So I cannot send anything except a service man,
    > who drives 150km to hit sysrq-F or the reset button.

    You'd need a little old computer next to your server with serial console
    attached to it for it to be effective. But it sounds more like a last
    resort and it makes economical sense only if you're not hosting your
    server and you've your own server room. Normally one doesn't need to
    drive 150km just because you can call somebody at the phone to click
    reboot (worse than SYSRQ+F [unless it was the critical app itself
    hitting a memleak], but much cheaper than hosting a serial console
    server too).

    The SYSRQ+F sounds more useful on a desktop usage, if you've tons and
    tons of swap. Don't forget that with an huge amount of swap, you're
    telling the kernel "please make my machine extremely slow if all apps
    uses the ram at the same time". In many situations it may be more
    efficicient for you to kill one of these apps, wait the other to finish,
    and restart the killed app from scratch (to avoid trashing, and the
    kernel _can't_ avoid trashing or it wouldn't be fair anymore). So if you
    do a mistake and you want to recover responsiveness in less than a
    second, the SYSRQ+F trick should make it.
    -
    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/


  • Next message: Lukas Hejtmanek: "Re: Kernel 2.6.9 Multiple Page Allocation Failures"

    Relevant Pages

    • Re: accessing shares when not logged in?
      ... You can use a script to supply credentials when accessing a share or mapping ... > a separate server running Win2K-AS sp4. ... If I run the app ... > when I mapped the drives. ...
      (microsoft.public.windows.server.networking)
    • Re: mapped srives "fail"
      ... drives take long to "activate" after startup. ... the app we get errors relatinf to not finding server data. ... Then we restart the app and it "connects" to the data and runs fine, ...
      (microsoft.public.windowsxp.network_web)
    • Windows 2000 Server and truly permanent network mappings?
      ... I have a crappy little app that is going to run on our server. ... do UNC but I can have that changed in a future release. ... answers I've found are summed up in "The concept of having mapped drives ...
      (microsoft.public.windows.server.general)
    • Re: Mapping drive through service
      ... I have got a server (say in app ... by client it has to map the fileserver to app server. ...
      (microsoft.public.windows.server.scripting)
    • Re: After manually undoing a recent MS Update, my server is a mess
      ... information to login to my server remotely to look around--hoping he could ... External USB is no replacement for local drives. ... stored on) and chose to only restore the System files. ... The "Cases" drive was actually a shared folder on an external ...
      (microsoft.public.windows.server.sbs)