Messages in this thread | | | Date | Thu, 13 Jul 2000 07:50:53 -0500 (CDT) | From | Jesse Pollard <> | Subject | Re: OOM in 2.2.14 |
| |
jmcmullan@linuxcare.com: > Just to be a frick'n idiot, why not just have the kernel > issue messages to the kernel log when swap space becomes low, > (configurable via /proc), and have a user-land daemon monitor > for that, and Do The Right Thing(TM)? > > Would take a lot of the OOM cruft out of the kernel, and > would alloe pop-up messages, selectable kill-this-app dialogs, > AI systems, whatever. > > Just say: > > Jan 11, 2000: kernel: VM Warning: Swap space at %90 > Jan 11, 2000: kernel: VM Warning: Swap space at %95 > Jan 11, 2000: kernel: VM Warning: Swap space at %98 > Jan 11, 2000: kernel: VM Fatal: Swap space exhausted!
Because the time delta between 90% and 100% can be zero (or so nearly so that syslog doesn't get to run before it is).
------------------------------------------------------------------------- Jesse I Pollard, II Email: pollard@navo.hpc.mil
Any opinions expressed are solely my own.
- 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/
| |