Bug#503097: Fix for #503097
Hy Ola
I had a similar problem; when a container ran out of memory the host crashed:
[ 5030.259197] Fatal resource shortage: privvmpages, UB 1211.
[ 5030.286759] Fatal resource shortage: privvmpages, UB 1211.
[ 5030.308249] Fatal resource shortage: privvmpages, UB 1211.
[ 5030.324705] Fatal resource shortage: privvmpages, UB 1211.
[ 7086.059121] BUG: unable to handle kernel paging request at ffff810010895000
[ 7086.079122] IP: [<ffff810010895000>]
[ 7086.079122] PGD 8063 PUD 9063 PMD 80000000108001e3
[ 7086.079122] Oops: 0011 [1] SMP
..
.
I can reproduce this bug with the "official" debian-kernel (linux-image-2.6.26-1-openvz-amd64).
The updated kernel
http://people.debian.org/~dannf/bugs/500876/linux-headers-2.6.26-1-openvz-amd64_2.6.26-14~dannf.1_amd64.deb
fixes the problem: Instead of a kernel panic processes inside the container get killed (expected behaviour) .
Thanks a lot!
Will this fix go into the official kernel? If you need additional testing, oder some more kernel-traces, please let me know.
Nik Lutz
Reply to: