I’m seeing what appears to be quite high memory use from the Mender client on my device when Mender is idle. Is this normal? If not, what should I do to lower it?
Output from top:
1523     1 root     S     839m 169%  29% /usr/bin/mender -daemon
/proc/status output:
root@sensor-020000300:~# cat /proc/1523/status
Name:   mender
Umask:  0022
State:  S (sleeping)
Tgid:   1523
Ngid:   0
Pid:    1523
PPid:   1
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 256
Groups:  
VmPeak:   859704 kB
VmSize:   859704 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     11324 kB
VmRSS:     11324 kB
RssAnon:            5840 kB
RssFile:            5484 kB
RssShmem:              0 kB
VmData:    84964 kB
VmStk:       132 kB
VmExe:      4336 kB
VmLib:      1400 kB
VmPTE:        44 kB
VmPMD:         0 kB
VmSwap:        0 kB
Threads:        8
SigQ:   0/2935
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe7bfa7827
SigIgn: 0000000000000000
SigCgt: ffffffffffc1feff
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs:     0
Cpus_allowed:   3
Cpus_allowed_list:      0-1
voluntary_ctxt_switches:        58
nonvoluntary_ctxt_switches:     20
/proc/cpuinfo for my device in case it is relevant:
root@sensor-020000300:~# cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 650.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0
processor       : 1
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 650.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0
Hardware        : Xilinx Zynq Platform
Revision        : 0003
Serial          : 0000000000000000
free output as well, in case it is relevant:
             total       used       free     shared    buffers     cached
Mem:        507880     192508     315372      34684       3940      95156
-/+ buffers/cache:      93412     414468
Swap:            0          0          0
I’m on Rocko and using Mender 1.7.0.