Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage when no connection to CCU2 possible? #532

Open
zloe opened this issue Sep 29, 2024 · 1 comment
Open

High memory usage when no connection to CCU2 possible? #532

zloe opened this issue Sep 29, 2024 · 1 comment

Comments

@zloe
Copy link

zloe commented Sep 29, 2024

Describe the bug
I had turned off the CCU2 this led to a high RAM consumption of the iobroker process on my RaspberryPI. After tuning the CCU on again it also seemed that the constant polling of the adapter prevented the CCU to start fully.

To Reproduce
Steps to reproduce the behavior:

  1. Turn of a connected CCU2
  2. Wait several minutes then ioBroker issued this warning:
    Your system has only 79 MB RAM left available and an additional adapter process is started. Please check your system, settings and active instances to prevent swapping and Out-Of-Memory situations!
    In "top" I see the hm-rega process using a lot of RAM (>400MB) and CPU (>100%)
  3. try to open the CCU Web page (not working, only blue window saying that the CCU is not ready yet)
  4. stop all hm-xxx adapters.
  5. CCU starts normal
  6. Adapters can be started again, ... memory usage is "normal" again

Expected behavior
A unavailable CCU shall not cause high CPU and RAM load of the adapter.
After a restart of the CCU it shall boot normal.

Screenshots & Logfiles
image

Versions:

  • hm-rpc version: 2.0.2
  • hm-rega version: 5.1.0
  • JS-Controller version: 6.0.11
  • Node version: 19.9.0
  • Operating system: Raspbian GNU/Linux 10 (buster)
  • CCU model: CCU2
  • CCU firmware: 2.61.7

Additional context
n/a

@Apollon77
Copy link
Contributor

Please setup history or such for the system.adapter.hm-rega.0.* like memRss and such so that you can visualize the memory consumption, potentially together with the connection status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants