-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I am running v2-5-0 on a FLM022A and using mqtt locally.
Most remote capabilities are disabled manually (update + api).
I use MQTT in the local network to scrape data from the flukso. It works but after some hours
the flukso hangs and I need to unplug / reboot it.
Over time mosquitto seems to be eating more and more RAM without any apparent reason.
When it boots, there are roughly 4000k free and it shrinks over time due to mosquitto increasing it's data section:
while true; do cat /proc/774/statm; sleep 1; done
3748 2201 308 34 0 3125 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3766 2212 308 34 0 3143 0
3783 2222 308 34 0 3160 0
3783 2222 308 34 0 3160 0
3783 2222 308 34 0 3160 0
3783 2222 308 34 0 3160 0
I saw that several memory leaks were fixed in mosquitto since the version flm02 is using:
https://github.com/eclipse/mosquitto/blob/master/ChangeLog.txt
Upgrading to a recent version would maybe solve it. Does anyone know more?
I haven't gotten around yet setting up the toolchain to build images myself, so i cannot quickly try.