Re: OOM in 2.2.14

From: David Bronaugh (dbronaugh@linuxhelp.bc.ca)
Date: Sat Jul 08 2000 - 03:34:21 EDT

  • Next message: Mike A. Harris: "Re: Kernel 2.2.14 OOM killer strikes."

    Hello,

    Although I'm no kernel hacker, it seems to me that the sensible thing to
    do to catch out-of-control processes that are just gobbling memory is to
    track the grabbing of pages as it happens and keep a small back-buffer
    of PIDs (or whatever) of the processes which allocated them. That way,
    an out-of-control process would be caught.

    When talking about slow mem leaks and such, I agree with Mike A. Harris.
    There should be a userland daemon to track free memory and, if it falls
    below a critical level, add more swap. This seems like a sensible
    solution, as it is quick and, as it is not in the kernel, it is easy to
    disable or enable without rebooting (god forbid! :). You can't have the
    solution in the kernel simply because it's not kosher for the kernel to
    do such things (sorry if i'm saying things other people already know).

    Anyways, I'll end my little rant. I'd be interested to hear comments on
    this.

    David Bronaugh

    -
    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 : Sat Jul 08 2000 - 03:36:24 EDT