Re: Some questions about linux kernel.

From: Rik van Riel (riel@conectiva.com.br)
Date: Sun Mar 12 2000 - 17:22:48 EST


On Sun, 12 Mar 2000, Adam wrote:
> > Rik's OOM patch:
> > You have a file with holes or other compression. When you try to
> > write to this, the kernel searches for junk files. It finds core
> > files, /tmp files, emacs backup files, *.o files...
>
> Problem is that one's thing junk is other person's valuable thing.
>
> If I run some web server, the 'httpd's are the most imporant thing,
> and it is thing which I least want to get killed.

Wrong, at least if you're running apache. I've seen
Apache explode and take down the performance of a
machine, killing that one apache child allowed the
rest of the system (including the other apache
childeren and the parent) to run...

> On the other hand if I run some important simulation, I'll be
> willing to let daemons like sendmail or http die in hopes the
> simulation finish.

You might want to take a look at the process selection
mechanism in my OOM killer patch (http://www.surriel.com/patches/).

> Bottom line is that I don't belive any kind of AI in OMM will do
> the right job.

So give us a better solution. One that also works for
unattended servers (I don't believe anybody actually
wants to babysit servers 24x7).

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

http://www.conectiva.com/ http://www.surriel.com/

- 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 : Wed Mar 15 2000 - 21:00:22 EST