Re: Andrea VM changes

From: Jamie Lokier (jamie_at_shareable.org)
Date: 09/01/03

  • Next message: Mikulas Patocka: "Re: Re: Re: IDE DMA breakage w/ 2.4.21+ and 2.6.0-test4(-mm4)"
    Date:	Mon, 1 Sep 2003 00:42:11 +0100
    To: Chris Frey <cdfrey@netdirect.ca>
    
    

    Chris Frey wrote:
    > > The fact that incoming network traffic can be what causes the
    > > OOM condition makes it Really Hard to decide which app deserves
    > > the axe.
    >
    > This may be a little off topic, but is there a way to manually select
    > this? I can see having a mode where everything stops thrashing
    > for a while, in order to let the admin calmly kill off the offending
    > process, as a useful feature.

    I'd love to be able to select which app _doesn't_ deserve the axe.
    I.e. not sshd, and then not httpd.

    I once ran GCC on a box out there in netland, on a short bit of code,
    and it was a surprise memory hog due to the usual GCC surprises.

    It totally crippled the machine, for 18 hours until I was able to get
    someone to reboot it. No ssh, no http, no nothing except TCP initial
    handshakes, and ping. Not good.

    When that happens I'd like the VM to notice that my most important
    tasks (sshd and its subshells) aren't making progress and start
    killing off other tasks.

    The obvious answer is to turn off swap, but I like to have some swap
    to hold static data that isn't much used, to free up some RAM.

    -- Jamie
    -
    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: Mikulas Patocka: "Re: Re: Re: IDE DMA breakage w/ 2.4.21+ and 2.6.0-test4(-mm4)"

    Relevant Pages

    • Re: Orinoco card fails on resume with 2.6.2 (race condition?)
      ... strange timer state, but I dunno. ... the system goes into a swap ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • MM patches (was Re: why swap at all?)
      ... A bit of swap out, ... main ones that applie here is my split active lists patch (search ... hitting memory pressure. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: why swap at all?
      ... If one has 16GB of ram, would he or she want to use swap? ... Real Programmers consider "what you see is what you get" to be just as ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kswapd in tight loop 2.6.9-rc3-bk-recent
      ... The kswapd1 process was pegging the cpu at 99% ... and 2GB of swap. ... there was a bunch of RAM sitting free too (about half a gig if memory ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)