Re: Swap vnode's [was overcommit thread]

From: Chipzz (chipzz@Ace.ULYSSIS.Student.KULeuven.Ac.Be)
Date: Fri Mar 31 2000 - 23:05:56 EST

  • Next message: Takashi Richard Horikawa: "Re: [PATCH] for 2.2.14 to improve SpecWeb96 performance"

    On Fri, 31 Mar 2000, Rik van Riel wrote:

    > From: Rik van Riel <riel@conectiva.com.br>
    > Subject: Re: Swap vnode's [was overcommit thread]
    >
    > On Thu, 30 Mar 2000, Larry McVoy wrote:
    >
    > > I've watched this go on (and on and on) and I don't remember
    > > anyone thinking of this easy solution: just use free disk space
    > > in any mounted file system as swap over flow. So if you run
    > > out, create /lost+found/swap-overflow, do a mkswap on it, and
    > > start allocating swap pages out of there. What's the problem
    > > with that?
    >
    > There are several userspace daemons that do exactly this.
    >
    > The problem is what we do when that fails. That's where

    What about: no more new processes can be started and a big warning in the
    logs that your system ran out of swap and you should increase swap space? I
    realize this is not a solution for remotely administrated systems, and it
    isn't either if the process that did the request keeps asking for more until
    that swap space runs out too, but it may be a start...

    > the OOM killer kicks in (and saves the system).
    >
    > cheers,
    >
    > Rik
    > --

    Chipzz AKA
    Jan Van Buggenhout

    --------------------------------------------------------------------------
                      UNIX isn't dead - It just smells funny
                              Chipzz@Ace.ULYSSIS.Org
    --------------------------------------------------------------------------

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 23:14:25 EST