hassio-addons / addon-influxdb

InfluxDB - Home Assistant Community Add-ons
https://addons.community
MIT License
154 stars 48 forks source link

High CPU after HA update #347

Closed Vartkat closed 1 week ago

Vartkat commented 1 month ago

Addon is using 33% CPU load average around 5

Supervised config on Debian 12 on Raspberry Pi4 4

Core 2024.7.3 Supervisor 2024.06.2 Operating System Interface utilisateur 20240710.0

services-up: info: copying legacy longrun kapacitor (no readiness notification) services-up: info: copying legacy longrun nginx (no readiness notification) s6-rc: info: service legacy-services successfully started [03:01:13] INFO: Chronograf is waiting until InfluxDB is available... [03:01:13] INFO: Kapacitor is waiting until InfluxDB is available... [03:01:14] INFO: Starting the InfluxDB... [03:01:57] INFO: Starting Chronograf... [03:01:59] INFO: Starting the Kapacitor

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::

::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:

:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:

::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::

. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::

:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::

::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:

..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2024/07/25 03:02:00 Using configuration at: /etc/kapacitor/kapacitor.conf time="2024-07-25T03:02:25+02:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime" time="2024-07-25T03:02:25+02:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server [03:02:29] INFO: Starting NGINX... s6-rc: info: service legacy-services: stopping [tcp] 2024/07/25 09:35:28 tcp.Mux: Listener at 127.0.0.1:8088 failed failed to accept a connection, closing all listeners - accept tcp 127.0.0.1:8088: use of closed network connection [09:35:29] INFO: Chronograf stopped, restarting... [09:35:29] INFO: Kapacitor stopped, restarting... [09:35:29] INFO: NGINX stopped, restarting... [09:35:29] INFO: InfluxDB stopped, restarting... s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service base-addon-timezone: stopping s6-rc: info: service base-addon-log-level: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service base-addon-timezone successfully stopped s6-rc: info: service base-addon-log-level successfully stopped s6-rc: info: service base-addon-banner: stopping s6-rc: info: service base-addon-banner successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting


Add-on: InfluxDB Scalable datastore for metrics, events, and real-time analytics

Add-on version: 5.0.0 You are running the latest version of this add-on. System: Debian GNU/Linux 12 (bookworm) (armv7 / raspberrypi4) Home Assistant Core: 2024.7.3 Home Assistant Supervisor: 2024.06.2

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-timezone: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started [09:42:00] INFO: Configuring timezone (Europe/Paris)... s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service base-addon-timezone successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/create-users.sh cont-init: info: /etc/cont-init.d/create-users.sh exited 0 cont-init: info: running /etc/cont-init.d/influxdb.sh cont-init: info: /etc/cont-init.d/influxdb.sh exited 0 cont-init: info: running /etc/cont-init.d/kapacitor.sh cont-init: info: /etc/cont-init.d/kapacitor.sh exited 0 cont-init: info: running /etc/cont-init.d/nginx.sh cont-init: info: /etc/cont-init.d/nginx.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun chronograf (no readiness notification) services-up: info: copying legacy longrun influxdb (no readiness notification) services-up: info: copying legacy longrun kapacitor (no readiness notification) services-up: info: copying legacy longrun nginx (no readiness notification) [09:42:19] INFO: Kapacitor is waiting until InfluxDB is available... s6-rc: info: service legacy-services successfully started [09:42:19] INFO: Chronograf is waiting until InfluxDB is available... [09:42:20] INFO: Starting the InfluxDB... [09:43:17] INFO: Starting the Kapacitor [09:43:17] INFO: Starting Chronograf...

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::

::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:

:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:

::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::

. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::

:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::

::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:

..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::

2024/07/25 09:43:19 Using configuration at: /etc/kapacitor/kapacitor.conf time="2024-07-25T09:43:39+02:00" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime" time="2024-07-25T09:43:39+02:00" level=info msg="Serving chronograf at http://127.0.0.1:8889" component=server [09:43:43] INFO: Starting NGINX...

github-actions[bot] commented 2 weeks ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!