OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

MQTT connection lost, laggy web interface, restart required

Open broth-itk opened this issue 6 months ago • 9 comments

What happened?

Yesterday OpenDTU stopped to publish data to MQTT. The web interface was somewhat laggy and eventually I managed to reboot the unit. Afterwards all started to work as normal.

image

This is the second or third time it happened. The first two events required a power cycle to get all back to normal.

To Reproduce Bug

No indication of the issue being reproducible. Looks like memory leak or similar.

Expected Behavior

Well, the system work with no outage :)

There is already another case where the implementation of a watchdog is discussed: https://github.com/tbnobody/OpenDTU/issues/693

Although I think the best would be to solve the root cause, a Watchdog would help to recover from these situations.

At the same time, remote logging would help to collect valuable system information like memory usage to track leaks, see https://github.com/tbnobody/OpenDTU/issues/1819

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

v24.6.29

Relevant log/trace output

No response

Anything else?

No response

Please confirm the following

  • [X] I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
  • [X] I have already searched for relevant existing issues and discussions before opening this report.
  • [X] I have updated the title field above with a concise description.

broth-itk avatar Jul 29 '24 03:07 broth-itk