From: Yann Dirson <ydirson@altern.org>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-kernel@vger.kernel.org, riel@nl.linux.org, andrea@e-mind.com
Subject: Re: Looking for better 2.2-based VM (do_try_to_free_pages fails, machine hangs)
Date: Wed, 1 Nov 2000 17:43:39 +0100 [thread overview]
Message-ID: <20001101174339.A1167@bylbo.nowhere.earth> (raw)
In-Reply-To: <20001101133307.A10265@bylbo.nowhere.earth> <Pine.LNX.4.21.0011010940450.2774-100000@freak.distro.conectiva>
In-Reply-To: <Pine.LNX.4.21.0011010940450.2774-100000@freak.distro.conectiva>; from marcelo@conectiva.com.br on Wed, Nov 01, 2000 at 09:41:04AM -0200
On Wed, Nov 01, 2000 at 09:41:04AM -0200, Marcelo Tosatti wrote:
> VM-global It should fix your problem.
Thanks for the hint, it works great indeed, I couldn't freeze the machine
any more - at least the make process understood Ctrl-C.
However, the OOM killer behaves in strange ways, it seems. In the 2 "make
-j50" runs I had (one with the working fs mounted 'sync', the other
'async'), it mostly killed non-root processes, but once it killed 'cron',
which was run as root:
[sync run]
Nov 1 15:51:05 bylbo kernel: VM: killing process cpp
Nov 1 15:56:38 bylbo kernel: VM: killing process apache
Nov 1 16:02:54 bylbo kernel: VM: killing process cc1
Nov 1 16:08:51 bylbo kernel: VM: killing process wwwoffled
[async run]
Nov 1 17:13:08 bylbo kernel: VM: killing process apache
Nov 1 17:14:01 bylbo kernel: VM: killing process cron
apache was running as "www-data" (uid 33), wwwoffled as "proxy" (uid 13).
An idea that came upon me was whether it would be possible to add to the
OOMK some sort of preference for processes owned by "system users", to be
defined by a "uid limit". For example, on Debian systems, where "real user"
uids start at 1000, it would be great if the OOMK would leave those
processes as far as possible off its kill list. Opinions ?
Best regards,
--
Yann Dirson <ydirson@altern.org> | Why make M$-Bill richer & richer ?
debian-email: <dirson@debian.org> | Support Debian GNU/Linux:
| Cheaper, more Powerful, more Stable !
http://ydirson.free.fr/ | Check <http://www.debian.org/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-11-01 16:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-01 12:33 Yann Dirson
2000-11-01 11:41 ` Marcelo Tosatti
2000-11-01 16:43 ` Yann Dirson [this message]
2000-11-01 16:48 ` Andrea Arcangeli
2000-11-01 16:59 ` Rik van Riel
2000-11-01 21:03 ` Yann Dirson
2000-11-01 21:00 ` Andrea Arcangeli
2000-11-01 22:20 ` Yann Dirson
2000-11-06 21:56 ` Yann Dirson
2000-11-06 21:48 ` Jeff V. Merkey
2000-11-07 20:48 ` Yann Dirson
2000-11-03 15:24 ` Ingo Oeser
2000-11-03 19:06 ` Marcelo Tosatti
2000-11-02 2:15 ` J . A . Magallon
2000-11-02 23:17 ` Andrea Arcangeli
2000-11-01 13:39 ` Miquel van Smoorenburg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001101174339.A1167@bylbo.nowhere.earth \
--to=ydirson@altern.org \
--cc=andrea@e-mind.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=riel@nl.linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®