On Fri, 19 Aug 2011, Denys Vlasenko wrote: > Exactly. Server has no means to know when the situation is > bad enough to start killing. IIRC now the rule is simple: > OOM killing starts only when allocations fail. > > Perhaps it is possible to add "start OOM killing if less than N free > pages are available", but this will be complex, and won't be good enough > for some configs with many zones (thus, will require even more complications). > Allocations start to fail, and oom killings then start to occur, only when the set of allowed zones fall below their minimum watermarks which usually includes several hundred kilobytes or several megabytes of free memory for lowmem situations. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>