Re: PROBLEM: oom killer and swap weirdness on 2.6.3* kernels
From: dave b
Date: Thu May 20 2010 - 03:27:38 EST
Is there a reason - no one has taken any interesting in my email ?....
The behaviour isn't found on the 2.6.26 debian kernel. So I was
thinking that it might be due to my intel graphics card / memory
interplay ? ....
On 14 May 2010 23:14, dave b <db.pub.mail@xxxxxxxxx> wrote:
> On 14 May 2010 22:53, dave b <db.pub.mail@xxxxxxxxx> wrote:
>> 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...
>>
>
> Sorry - I forgot to say I am running x86-64
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/