lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Some questions about linux kernel.
On Mon, 20 Mar 2000, David Whysong wrote:

> On Mon, 20 Mar 2000, Richard B. Johnson wrote:
>
> >The only solution to an out-of-memory condition is to never run
> >out of memory.
>
> Yes!
>
> >The place where all of the system information is known is in "user
> >space". The kernel readily "knows" stuff about the current process, but
> >retrieving information about other tasks in a page-fault handler would
> >result in an extremely poor performing machine. A user-space daemon can
> >acquire information about all the tasks, can detect runaway tasks, can
> >safeguard special tasks like Web Servers that haven't gone crazy, and
> >can watch for performance hurting rogue programs.
> >
> >Such a program, if properly designed, is the solution to such
> >out-of-memory conditions.
>
> No! Or perhaps it depends on what you want this user-space daemon to do.
>

It is yes. The purpose of the daemon is to monitor the system and
prevent an out of memory condition from existing. The kernel should
never kill anything (unless asked). Killing a task is policy. It
is specified by the administrator and administered by the daemon.


Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).


-
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.063 / U:16.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site