Hi all,
I'm using fancontrol on a NetGear ReadyNAS Ultra 6000 (X86 arch) using
ubuntu server 14 and it's great !
But as you may see in the forward (or not : I don't know if the pic will
be filtered...), fancontrol
memory usage, although not huge, is worryingly increasing as uptime goes on.
From 6 Mb at the moment I start the daemon to 27 Mb less than a week
later, and still growing !
Here are few system stats, I think pinpointed the issue, but that's all
I could do...
pmap -x FANCONTROL_PID (see 25 Mb in dirty column)
=====
Address Kbytes RSS Dirty Mode Mapping
0000000000400000 956 556 0 r-x-- bash
00000000006ef000 4 4 4 r---- bash
00000000006f0000 36 20 20 rw--- bash
00000000006f9000 24 24 24 rw--- [ anon ]
0000000001dd7000 25948 25948 25948 rw--- [ anon ]
(...)
cat /proc/FANCONTROL_PID/smaps output sample :
========
(...)
01dd7000-0372c000 rw-p 00000000 00:00 0
[heap]
Size: 25940 kB
Rss: 25940 kB
Pss: 25940 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 0 kB
Private_Dirty: 25940 kB
Referenced: 17956 kB
Anonymous: 25940 kB
AnonHugePages: 0 kB
Swap: 0 kB
KernelPageSize: 4 kB
MMUPageSize: 4 kB
Locked: 0 kB
VmFlags: rd wr mr mw me ac sd
(...)
Look like it's the heap ( memory leak in the fancontrol shell script !? )
cat /proc/FANCONTROL_PID/io
===============
rchar: 685486042
wchar: 6072566
syscr: 2428507
syscw: 346921
read_bytes: 19808256
write_bytes: 0
cancelled_write_bytes: 0
It looks like every data read by the process is kept in memory (pwm
sensors data ?) : It doesn't seems OK to me...
Am I wrong ? Do someone have any clue or suggestion ?
Thanks,
Cédric L.M.
-------- Message transféré --------
Sujet : Re: Fancontrol memory consumption
Date : Tue, 4 Nov 2014 08:21:58 +0100
De : Marius Reiner <marius.reads@xxxxxxxxx>
Pour : Taz <rastataz@xxxxxxxxx>
Sorry I don't maintain fancontrol any more, please check the lm_sensors
project mailinglist, those guys might be able to help.
Best regards
Marius
On Tue, Nov 4, 2014 at 3:04 AM, Taz <rastataz@xxxxxxxxx
<mailto:rastataz@xxxxxxxxx>> wrote:
Hi Marius,
First : Thanks for fancontrol (I suppose... I foud your mail in the
man page). :-)
As you can see on following graph fancontrol is consuming more and
more memory
as its uptime goes : almost 6 times more than when it started up
less than a week ago...
Got any information related to that ?
( will it stops growing once a certain level is reached, is it
threatening for my system/fancontrol daemon ...)
Thanks,
Cédric L.M.
_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors