[ovirt-devel] Tracking down a vdsm memory leak

Michal Skrivanek michal.skrivanek at redhat.com
Mon May 7 15:56:38 UTC 2018



> On 7 May 2018, at 17:46, Chris Adams <cma at cmadams.net> wrote:
> 
> I have a problem with a memory leak in vdsm.  I have a dev cluster that
> right now is:
> 
> - two nodes
> - CentOS 7.4 (up to date)
> - oVirt 4.2.2 (installed as 3.5 and upgraded version by version)
> - hosted engine (no other running VM at the moment)
> - iSCSI storage
> 
> I have a script that writes the vdsm RSS to a file every five minutes,
> and on the node holding the hosted engine, vdsm RSS grows around
> 300-1500KB every snapshot.

so it’s not happening on other nodes which are empty, and it’s not happening when other nodes are running some VM, as long as it is not the HE VM?

> 
> I maintain several oVirt clusters for others, and they all seem to have
> this problem.  The production clusters are all still on oVirt 4.1, but
> they all have this problem too, so I guess it is something about how I
> set them up?  On a couple I just checked, the vdsm RSS is over 1G.
> 
> Any tips on instrumenting vdsm to track this down?  I am unfortunately
> only passingly familiar with python (I can make small changes, but not
> knowledgeable enough to figure this out).
> 
> -- 
> Chris Adams <cma at cmadams.net>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 
> 



More information about the Devel mailing list