From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antoine Martin Subject: Re: virtio net regression Date: Tue, 19 May 2009 17:47:53 +0700 Message-ID: <4A128E59.8010400@devloop.org.uk> References: <49E63DB4.4090107@devloop.org.uk> <49E66FFB.4080504@nagafix.co.uk> <49EB0F7B.3040802@redhat.com> <1240225922.23407.48.camel@blaa> <49EC8F1D.7000109@nagafix.co.uk> <49F7519A.5030808@nagafix.co.uk> <4A0582D7.4010809@nagafix.co.uk> <4A112CCC.1040903@redhat.com> <4A1286E2.4070805@devloop.org.uk> <4A12880C.8010101@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Antoine Martin , Mark McLoughlin , "kvm@vger.kernel.org" , Rusty Russell , davem@davemloft.net To: Avi Kivity Return-path: Received: from mamba.nagafix.co.uk ([194.145.196.68]:50674 "EHLO mail.nagafix.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751782AbZESKsA (ORCPT ); Tue, 19 May 2009 06:48:00 -0400 In-Reply-To: <4A12880C.8010101@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > Antoine Martin wrote: >>> You're out of memory. >>> >> That's quite odd, the guest wasn't even hitting the swap at the tine. > > But you do have swap enabled? Yes. I always do this on the guests as it seems fairer to let the guests use swap when they need the extra memory rather than over-committing too much memory on the host. Although it would probably be more efficient overall to let the host manage all swapping. It consumes more I/O bandwidth, but most guest's memory stay "warm" no matter what other guests are doing. Does that sound reasonable? >>> Strange, seems to be a bit of free memory here. >>> >> There should be lots, all this host is doing is apache+sftp... >> >> Assuming I can make it re-occur (stress testing it?), how would I dig >> further to find the cause of this memory exhaustion? /proc/meminfo and >> friends? >> > > Yes please. Maybe virtio is leaking memory. Will report if I find anything.