From: "Jan Beulich" Subject: RE: OOM problems Date: Mon, 15 Nov 2010 08:55:00 +0000 Message-ID: <4CE1037402000078000222F0@vpn.id2.novell.com> References: <4CDE44E2.2060807@nuclearfallout.net> <4FA716B1526C7C4DB0375C6DADBC4EA38D80702C25@LONPMAILBOX01.citrite.net> <4CDE4C08.70309@nuclearfallout.net> <4FA716B1526C7C4DB0375C6DADBC4EA38D80702C2E@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4FA716B1526C7C4DB0375C6DADBC4EA38D80702C2E@LONPMAILBOX01.citrite.net> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , John Weekes Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 13.11.10 at 10:13, Ian Pratt wrote: >> > What do the guests use for storage? (e.g. "blktap2 for VHD files on >> an iscsi mounted ext3 volume") >>=20 >> Simple sparse .img files on a local ext4 RAID volume, using "file:". >=20 > Ah, if you're using loop it may be that you're just filling memory = with=20 > dirty pages. Older kernels certainly did this, not sure about newer = ones. Shouldn't this lead to the calling process being throttled, instead of the system running into OOM? Further, having got reports of similar problems lately, too, we have indications that using pv drivers also gets us around the issue, which makes me think that it's rather qemu-dm misbehaving (and not getting stopped doing so by the kernel for whatever reason - possibly just missing some non-infinite rlimit setting). Not knowing much about the workings of stubdom, one thing I don't really understand is how qemu-dm in Dom0 would be heavily resource consuming here (actually I would have expected no qemu-dm in Dom0 at all in this case). Aren't the main I/O paths going from qemu-stubdom directly to the backends? Jan