Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 29 Nov 2016 09:40:19 -0800, Marc MERLIN wrote:

>> One thing you can try is to just make the global limits much lower. As in
>> 
>>    echo 2 > /proc/sys/vm/dirty_ratio
>>    echo 1 > /proc/sys/vm/dirty_background_ratio
> 
> I will give that a shot, thank you.

Definitely do - your default values are way too high.

Another thing to try would be to activate the 'new' free-space-tree, i.e.
mount once with space_cache=v2. It will vastly reduce writeback stalls
especially with many small files or updates, and has been working reliably
ever since it landed.

-h

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]