From: Jim MacBaine <jmacbaine@gmail.com>
To: Ram Gupta <ram.gupta5@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
Date: Fri, 13 Jan 2006 17:43:40 +0100 [thread overview]
Message-ID: <3afbacad0601130843k6cf548e5y638b9ae3434096fa@mail.gmail.com> (raw)
In-Reply-To: <728201270601130832h37eae980hc4e0d3de7522c81e@mail.gmail.com>
On 1/13/06, Ram Gupta <ram.gupta5@gmail.com> wrote:
> This is ok. When the swappiness variable is set to zero kernel does
> not try to swap out processes. So once all memory is used up by
> processes it can not free up memory by swapping and hence had to kill
> process.
It _would_ be ok if swappiness == 0 would mean that the kernel will
not swap at all. That's not the case. Even without an excessive use of
tmpfs the kernel found ~250 MB of unused memory which it swapped out
during the last days with swappiness == 0.
Regards,
Jim
next prev parent reply other threads:[~2006-01-13 16:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 15:55 /proc/sys/vm/swappiness == 0 makes OOM killer go beserk Jim MacBaine
2006-01-13 16:32 ` Ram Gupta
2006-01-13 16:43 ` Jim MacBaine [this message]
2006-01-13 18:04 ` Ram Gupta
[not found] <5uzvD-8tr-19@gated-at.bofh.it>
2006-01-14 11:02 ` Nick Craig-Wood
2006-01-14 13:53 ` Jim MacBaine
2006-01-14 15:45 ` Denis Vlasenko
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=3afbacad0601130843k6cf548e5y638b9ae3434096fa@mail.gmail.com \
--to=jmacbaine@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ram.gupta5@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).