Memory leak in sensors panel plugin

Weedy weedy2887 at gmail.com
Wed Aug 26 14:43:58 CEST 2015


I use coretemp, i8k, and nvidia sensors.

For the test I nuked the sensors plugin and added it back with only
"core 0" from the coretemp-0 sensor.
One second refresh. It always starts up around 50mb RSS, and I end up
killing it around 85+.

After running this a few times I think the leak is the the general
result fetching code. While I didn't specifically try fans only next,
everyone should have coretemp. And if everyone has coretemp then
anyone else should be able to corroborate this.

On Tue, Aug 18, 2015 at 10:44 AM, houghi <houghi at houghi.org> wrote:
> On 2015-08-18 15:50, Weedy wrote:
>>
>> I just reset my panel because the sensors plugin was over 700mb RSS.
>>
>> How do you guys want me to debug this? It takes time to build up, I would
>> guess it's in the code that runs the external tools. I can speed up or
>> slow
>> down the leak by adjusting the update interval.
>>
>
> Perhaps first try to determine what is causing this. e.g.  first try
> temperature only, then fan speed, then whatever else you have and this at
> the highest speed. If you think you found it, still check all the others,
> because it could be more than one.
>
> If you find it is e.g. fanspeed only, try to see if it is one specific fan
> or if it is all of them.
>
> Once you find that, it might already be pointing in the right direction and
> will be much easier to determine what the cause is. And even if it is all of
> them, that could help.
>
> houghi
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org


More information about the Xfce mailing list