Skip to content

ZBUS message queue overflow causing cloud subscriber communication failures #23

@nmpluta

Description

@nmpluta

Description

The cloud module's ZBUS subscriber queue is overflowing, causing systematic message delivery failures with error code -12 (ENOMEM - out of memory). The sensor module cannot publish data to the cloud subscriber, and the controller module cannot request sensor data due to queue saturation. This indicates that the cloud module thread is not processing messages fast enough, leading to a backlog that exceeds the configured message queue size of 5 messages.

Error Pattern in Logs:

[00:01:02.080,352] <err> zbus: could not deliver notification to observer cloud_subscriber. Error code -12
[00:01:02.080,413] <err> sensor_module: Failed to publish sensor request (-12)
[00:01:02.380,798] <err> sensor_module: Failed to publish sensor request (-11)
[00:01:02.994,293] <err> zbus: could not deliver notification to observer cloud_subscriber. Error code -12

The alternating error codes (-12: ENOMEM, -11: EAGAIN) suggest the queue is consistently full, preventing proper inter-module communication and data transmission to the cloud.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions