[pve-devel] pvestatd memory detection is too low

Dietmar Maurer dietmar at proxmox.com
Sat Oct 27 13:31:59 CEST 2012


> > I used resident in past and that works reliable - why you want to change
> that?
> Resident is just the memory size not swapped. Size would be the complete
> memory the process is really using - makes more sense to me.

Yes, I thought that too. But size turned out to be unreliable for that purpose (but
I tested that years ago).

> >> Is my final patch regarding the mem leak ok?
> >
> > I will take a closer look next week. Maybe it is possible to avoid the cyclic
> ref somehow?
> 
> Why there is no need to remove circ. references you just need to tell perl
> about them (weaken) and then you have to clean them sub DESTROY.

That is a workaround, yes. But if I can avoid such hacks, I will try to avoid them.
Finally I will the solution which looks simpler.


More information about the pve-devel mailing list