jpw wrote:
So the big problem is with the host kernel killing an entire UML instances?
Yup. The OOM killer "decides" that the host needs more memory (when they're is *plenty* of free memory/swap), and starts killing UML processes. Once it starts, it never stops.
jpw wrote:
And for the people who have seen out of memory compile problems (when there is enough swap), it's most likely their own UML's OOM Killer that may be killing processes?
Well, this might be another problem. Are you using Gentoo? If so, what host are you on?
jpw wrote:
Which means that some of my memory problems described above may be due to my UML kernel (using 2.4 latest) not have the OOM Killer patches backported? (I don't know how bad the OOM Killer problems are in 2.4, but there seem to be some issues based on what I've read.)
Hmm, 2.4 had and then didn't have the OOM killer. If you're referring to "page_alloc" failures in your console, I believe those are genuine OOM scenarios (no RAM/swap). Or, perhaps the memory allocator in 2.4 is susceptible to the same problems.
-Chris