Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT and CPU on 100%
#1
Hello,
when I turn on sending to MQTT server, CPU go to 100% usage. Where is problem?
Odpowiedz
#2
Check if your loop isn't publishing messages too fast without any delay or sleep, which often maxes out the CPU. Also, make sure you're using asynchronous publishing or a proper keep-alive setting so the MQTT client doesn't block the main thread
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości