linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: oom killer and swap weirdness on 2.6.3* kernels
@ 2010-05-14 12:53 dave b
  2010-05-14 13:14 ` dave b
  0 siblings, 1 reply; 21+ messages in thread
From: dave b @ 2010-05-14 12:53 UTC (permalink / raw)
  To: linux-kernel

In 2.6.3* kernels (test case was performed on the 2.6.33.3 kernel)
when physical memory runs out and there is a large swap partition -
the system completely stalls.

I noticed that when running debian lenny using dm-crypt  with
encrypted / and swap with a  2.6.33.3 kernel (and all of the 2.6.3*
series iirc) when all physical memory is used (swapiness was left at
the default 60) the system hangs and does not respond. It can resume
normal operation some time later - however it seems to take a *very*
long time for the oom killer to come in. Obviously with swapoff this
doesn't happen - the oom killer comes in and does its job.


free -m
             total       used       free     shared    buffers     cached
Mem:          1980       1101        879          0         58        201
-/+ buffers/cache:        840       1139
Swap:        24943          0      24943


My simple test case is

dd if=/dev/zero of=/tmp/stall
and wait till /tmp fills...

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-09-21 13:01 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-14 12:53 PROBLEM: oom killer and swap weirdness on 2.6.3* kernels dave b
2010-05-14 13:14 ` dave b
2010-05-20  7:27   ` dave b
2010-05-21 21:18     ` Hugh Dickins
2010-05-27  3:45       ` dave b
2010-06-01 20:52         ` David Rientjes
2010-07-26 14:05           ` dave b
2010-07-26 22:12             ` David Rientjes
2010-07-27  4:39               ` dave b
2010-07-27  4:46                 ` KOSAKI Motohiro
2010-07-27  4:49                   ` dave b
2010-07-27  6:09                     ` KOSAKI Motohiro
2010-07-27  8:09                       ` dave b
2010-07-27 10:40                         ` dave b
2010-07-27 11:14                           ` KOSAKI Motohiro
2010-07-27 11:26                             ` dave b
2010-07-28  5:06                               ` KOSAKI Motohiro
2010-07-28  7:14                                 ` dave b
2010-07-29  9:47                                   ` dave b
2010-07-29  9:48                                     ` dave b
2010-09-21 13:01                                       ` dave b

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).