[pve-devel] pvestatd memory detection is too low

Stefan Priebe s.priebe at profihost.ag
Sat Oct 27 11:46:53 CEST 2012


Am 27.10.2012 08:55, schrieb Dietmar Maurer:
>> Should we still use $mem->resident or size?
>
> 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.

>> 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.

Greets,
Stefan



More information about the pve-devel mailing list