High Memory Usage, is this normal?
-
@skywatch This is seems high.
What type of gateway are you using? Are you running any script?
-
Using mysensors gateway 2.2.0 - NRF24L01+ attached directly to the pi.
If I reboot the pi then memory is about 53%, but gradually climbs over time (memory hole?)....
No scripts running as far as I know.
UPDATE - MQTT is running for the rpi internal info (that's how I know about the memory use- 88% now).
I also notice that the rpi-gpio node is shown as down, yet has recently been active. I have nothing using that yet, so maybe that is the problem (but I would have expected it to be up and running after install, no?). -
@skywatch Can you check with
top
which uses more CPU? -
Java is by far the winner in using the most cpu and the most memory... hope that helps...
-
same here.. see the top output below
asks: 84 total, 2 running, 82 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.2 us, 1.1 sy, 0.0 ni, 95.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 506832 total, 484768 used, 22064 free, 23672 buffers KiB Swap: 131068 total, 0 used, 131068 free. 191584 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 25421 root 20 0 289604 214600 4400 S 14.9 42.3 402:09.80 java 481 root 20 0 12568 996 792 S 1.0 0.2 310:10.60 mysgw
in my case I use an orangepi running armbian, the receiver also directly attached to the GPIO header. SInce i use mysgw as a deamon, the CPU usage is higher (therefor runs hotter), compared to an arduino with the sensor attached...
But you are right java seems a bit memory hungry...
Let me know if you need more info
-
@skywatch Still are you facing this issue after followed this http://forum.mycontroller.org/topic/175/web-page-script-stopped-responding/6 ?
-
@Tag This is my RPI CPU usage, I use RPI minimal install and WiFI MySnesors gateway(two gateways)
-
I have had to reboot the pi today a few times but am now monitoring memory usage. So far it is rising steadily, but slowly. I will give it a few days and see how it goes.
-
I unfortunately cannot get the graph you show.....
did you get it from a script or from the myagent software? -
How do I add an image to a post here?
Also, what memory is mcagent reporting? Ram? Sdcard? I have an image screenshot that you might like to see!
-
-
-
@skywatch Yes, I put 512KB limit to avoid storage full. Yes please send to jkandasa at gmail dot com