lkml.org 
[lkml]   [2000]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.022 / U:2.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site