iobroker-community-adapters / ioBroker.habpanel

AngularJS-based dashboard-like interface for ioBroker (based on openHAB panel)
Eclipse Public License 2.0
22 stars 15 forks source link

WEB Adatper crashes during configuration changes #143

Closed tim4849 closed 1 year ago

tim4849 commented 1 year ago

I have been using HABPanel as a visualization for iobroker for several years. Slowly the tool reaches its limits:

I would be happy to provide details about my configuration.

Apollon77 commented 1 year ago

Please provide logs, please provide browser console logs so that we can maybe see whats up. With these infos we can not help that much

tim4849 commented 1 year ago
web.0 | 2022-11-01 14:13:32.717 | info | ==> Connected system.user.admin from ::ffff:192.168.10.21 -- | -- | -- | -- web.0 | 2022-11-01 14:13:31.956 | info | <== Disconnect system.user.admin from ::ffff:192.168.10.21 web.0 | 2022-11-01 14:13:31.635 | info | ==> Connected system.user.admin from ::ffff:192.168.10.21 web.0 | 2022-11-01 14:13:26.621 | info | http server listening on port 8082 web.0 | 2022-11-01 14:13:26.608 | info | Connect extension "habpanel/lib/habpanelapi.js" web.0 | 2022-11-01 14:13:26.608 | info | habpanel web extension - Install extension on /rest/habpanel/ web.0 | 2022-11-01 14:13:26.606 | info | habpanel server listening on port 8082 web.0 | 2022-11-01 14:13:26.592 | info | socket.io server listening on port 8082 web.0 | 2022-11-01 14:13:25.997 | info | starting. Version 5.2.10 in /opt/iobroker/node_modules/iobroker.web, node: v16.18.0, js-controller: 4.0.23 web.0 | 2022-11-01 14:11:57.231 | info | ==> Connected system.user.admin from ::ffff:192.168.10.21 web.0 | 2022-11-01 14:11:47.025 | info | <== Disconnect system.user.admin from ::ffff:192.168.10.21 habpanel.0
tim4849 commented 1 year ago

I'm not shure what logs I can provide, the only related logs are from web.0 and host. There are no messaages from habpanel. `

host.iob1 2022-11-01 14:15:30.446 info instance system.adapter.daswetter.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
host.iob1 2022-11-01 14:15:29.302 info instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
host.iob1 2022-11-01 14:15:04.362 info instance system.adapter.daswetter.1 started with pid 4645
host.iob1 2022-11-01 14:15:00.171 info instance system.adapter.daswetter.0 started with pid 4632
host.iob1 2022-11-01 14:13:20.448 info instance system.adapter.web.0 started with pid 4543
host.iob1 2022-11-01 14:12:47.432 info Restart adapter system.adapter.web.0 because enabled
host.iob1 2022-11-01 14:12:47.431 info instance system.adapter.web.0 terminated with code NaN ()
host.iob1 2022-11-01 14:12:47.430 warn instance system.adapter.web.0 terminated due to SIGKILL

`

Apollon77 commented 1 year ago

SIGKILL means that the adapter was killed ... could it be that you have log entries also in /var/log/syslog about an OOM situation? Then it might be an issue with RAN usage or available RAM on your system. SO we need more infos on system, "free -m" output and such

Apollon77 commented 1 year ago

(This "system slows down" could also be an indicator thet your syystem is swapping and so RAM is short