Runaway CPU with native mesh firmware #51

Closed
opened 2026-10-05 01:18:06 +02:00 by adam · 1 comment
Owner

If you have a 100% cpu runaway and you are using meshtastic native aka meshtasticD

Logs like this ..


INFO  | 03:44:15 1646300 [ServerAPI] Disconnect from phone
INFO  | 03:44:15 1646300 [ServerAPI] Client dropped connection, suspend API service
 File "/home/spud/.local/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1003, in waitForAckNak
    success = self._timeout.waitForAckNak(self._acknowledgment)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/spud/.local/lib/python3.11/site-packages/meshtastic/util.py", line 223, in waitForAckNak
    time.sleep(self.sleepInterval)

You likely tried to use the API twice. That won't work. Known upstream limitation.

If you have a 100% cpu runaway and you are using meshtastic native aka meshtasticD Logs like this .. ``` INFO | 03:44:15 1646300 [ServerAPI] Disconnect from phone INFO | 03:44:15 1646300 [ServerAPI] Client dropped connection, suspend API service File "/home/spud/.local/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1003, in waitForAckNak success = self._timeout.waitForAckNak(self._acknowledgment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/spud/.local/lib/python3.11/site-packages/meshtastic/util.py", line 223, in waitForAckNak time.sleep(self.sleepInterval) ``` You likely tried to use the API twice. That won't work. Known upstream limitation. <!-- github-sync-id:2873842363 -->
adam closed this issue 2026-10-05 01:18:06 +02:00
Author
Owner

fixed the loop

fixed the loop <!-- github-comment-id:3100655624 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshing-around#51