ballle98 / AqualinkD

Daemon to control Jandy Aqualink RS pool equipment from any home automation hub (Alexa, Homekit & Siri, Home Assistant, smartthings, domoticz etc) or web browser.
Other
6 stars 2 forks source link

Memory leak #48

Open ballle98 opened 4 years ago

ballle98 commented 4 years ago

** after running 3 weeks and 5 days using 32% of memory after restart 1.9%

+BEGIN_EXAMPLE

top - 11:40:26 up 26 days, 5:59, 1 user, load average: 0.23, 0.25, 0.22 Tasks: 63 total, 1 running, 38 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.8 us, 2.9 sy, 0.0 ni, 95.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 443840 total, 31768 free, 203380 used, 208692 buff/cache KiB Swap: 102396 total, 93436 free, 8960 used. 166296 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 394 root 20 0 604104 141816 2348 S 2.9 32.0 1219:14 aqualinkd

+END_EXAMPLE

+BEGIN_EXAMPLE

%Cpu(s): 0.7 us, 2.5 sy, 0.0 ni, 96.4 id, 0.0 wa, 0.0 hi, 0.4 si, 0.0 st KiB Mem : 443840 total, 165548 free, 68044 used, 210248 buff/cache KiB Swap: 102396 total, 97788 free, 4608 used. 301632 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1615 root 20 0 452128 8420 2936 S 2.9 1.9 0:03.50 aqualinkd

+END_EXAMPLE

ballle98 commented 4 years ago

https://en.wikipedia.org/wiki/Mtrace

Note that mtrace tool works only with single threaded applications.

ballle98 commented 2 years ago

Not sure if this is still an issue. Ran aqualind for 2 years without hitting it.