WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Fix memory leak in xend

To: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix memory leak in xend
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Fri, 29 Aug 2008 03:42:44 +0200 (CEST)
Cc: Jim Fehlig <jfehlig@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 28 Aug 2008 18:43:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48B74D8E.50206@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 29 Aug 2008, Zhigang Wang wrote:

> I also encountered this many times. I come up with a patch.
>
> Jim, please review.
>
> thanks,
>
> zhigang
>
> Stefan de Konink wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Jim Fehlig schreef:
> >> We observed OOM kills of xend after ~20 days in openSUSE build service
> >> workers.  xend reached around 2.5 G virt, 1.5G res, and 1.8G shared
> >> memory usage. Attached patch provides a plug.
> >
> > Did you see problems after this patch? I have applied it on 3.2.1 which
> > borks about missing vm_metrics.
> >
> >
> > Stefan
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.9 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iEYEAREKAAYFAki3HhkACgkQYH1+F2Rqwn049gCeIYOm5MSf/NQfgdb9TC009wjS
> > 9l8An0PeV5xp/jYamySsSACJO1OI2Jp7
> > =bJwS
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>

The patch you provide seems to be for the 3.3 version right? The
is_managed attribute/function, is it available for 3.2? Can anyone
backport this?

(I think giving me a reference to a kernel that is older than 2.6.18 and
supports x86_64 + Xen 3.3 is more work ;)


Stefan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel