lkml.org 
[lkml]   [2006]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-13 17:46    [W:0.079 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site