#Sonar restarting continuously, spiking host CPU load

4 messages · Page 1 of 1 (latest)

dense charm
#

I seem to be having an issue with my new install of mainsailOS after getting everything set up. I noticed that my Pi CPU load was spiking continuously from 2-15% during a print and idling. I checked the host service_state in host details and noticed that sonar was failing, restarting, running, and then failing infinitely. I am not familiar with what a keepalive daemon is so i didnt want to uninstall it, so i killed the process with sudo service sonar stop and my CPU load almost instantly dropped down to 1-2% and remained there for as long as i watched it. Just looking for a general pointer on how to continue here. This is on a Pi4 4gb on a 64bit system with a fresh MainsailOS install. I swapped to the Pi4 this afternoon in an attempt to chase away some CANBus issues.

runic abyss
#

Well if you enabled it via its config, it should be pretty obvious that a service needs some kind of cpu load to do a job, right? But without any useful informations, I cant help you. So, at least I need its log and its config...

#

Sonar is disabled by default due its config, to make it easier to use, the underlaying service is enabled, but exits if in its config it is disabled. That will produce a short log which tells you that the service exits for this reason. For sure it needs some kind of processing for that, but should only seen right after a reboot, because thats its trigger to check again for the configuration.

dense charm
#

I didn’t enable it via its config. In fact, I tried to find the ~/printer_data/config/sonar.conf and it doesn’t exist. I don’t know what it does, but judging by the fact that it’s disabled by default I’ll just uninstall it. Thanks.