Open Snak3in opened 3 weeks ago
Thank you for reporting this issue. To better understand the problem:
--debug
flag to identify where the delay occurs.Provide more details about your setup and usage, including:
Thanks for the reply, I used the debug by posting on a topic and I noticed that the times are normal, the problem is right at the beginning when I send the command because MQTTX takes 100% of the CPU, I tried both on Ubuntu 18.04 on an ATOM processor and the delay is about 8 seconds, while on Ubuntu 22 mounted on a virtual machine on a PC with Intel Core i7 the delay is 2/3 seconds. Maybe there is some bug? The mqttx version is always the latest release in both cases
So, you mean it gets stuck or delay whenever you run the mqttx
command, right?
yes
Could you please provide more details about the system info? For example, if it's 2 Core 4 GB. It will help us try to reproduce the issue with those specific settings. This problem might occur because MQTTX CLI is built on Node.js, which isn't the most lightweight solution.
yes, this is the system info: Intel® Atom™ Processor E3826 (1M Cache, Upto 1.46 GHz SoC, 7W TDP), 2GB RAM
hi, yesterday I managed to use and understand how to make mqttx work from a Linux terminal, but now I realize that the connection seems really slow and for example sending a message on a topic, from when I send the command to when the action completes about 10 seconds pass and I was wondering if this was normal. My internet connection is not a problem and is not slow, can you help me?