CPU-Last seit 28.11. nahe 100%
Description
Seit 28.11. ca. 17:00 ist die CPU-Last meiner EVCC Instanz (läuft in einem LXC Container auf PVE) konstant und ununterbrochen nahe 100%, wie mir der Ressourcenmonitor meiner PVE zeigt. So hoch war sie noch nie.
Steps to Reproduce
Das Maximum der CPU-Last letzten 1,5 Jahre war bei 5%. Ich habe nichts an der Konfiguration verändert an dem Datum (weder PVE, noch EVCC). Das EVCC-Update auf v0.211.0 habe ich erst gestern am 2.12. gemacht, so dass hier kein Zusammenhang zu bestehen scheint, aber da ist mir im Ressourcenmonitor eben der Sprung aufgefallen. Ein Neustart der PVE oder EVCC ändern nichts am Verhalten.
⚠️ RETURN TO EVCC TAB → COPY STEP 2 → PASTE HERE
Configuration (YAML)
# open evcc at http://evcc.local:7070
network:
schema: http
# host: evcc.local # .local suffix announces the hostname on MDNS
host: evcc.lan.xxx.net
port: 7070
log: debug
levels:
cache: error
easee: trace # für Fehlerbehebung hinzugefügt
# unique installation id
plant: *****
interval: 20s # control cycle interval (20 funktioniert)
sponsortoken: *****
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: true
# database configuration for persisting charge sessions and settings
database:
type: sqlite
dsn: /var/lib/evcc/evcc.db
meters:
- type: template
template: sonnenbatterie
usage: grid
host: 10.13.50.20
port: 8080
name: grid1
- type: template
template: sonnenbatterie
usage: pv
host: 10.13.50.20
port: 8080
name: pv2
- type: template
template: sonnenbatterie
usage: battery
host: 10.13.50.20
port: 8080
name: battery3
token: *****
chargers:
- type: template
template: easee
user: *****
password: *****
charger: xxx
timeout: 20s
name: wallbox5
authorize: false # Steuert ob evcc die Authentifizierung am Charger vornimmt. Vorteil ist ein kontrollierter Ladestart. Nicht kompatibel mit RFID Identifikation von Fahrzeugen. (optional)
#vehicles:
#- type: template
# template: bmw
# title: BMW iX3
# user: *****
# password: *****
# capacity: 80
# name: ev4
# identifiers:
# - 1234567890 # über `evcc charger` ermittelt
vehicles:
- name: my_car
type: template
template: cardata
title: BMW iX3 # Titel, Wird in der Benutzeroberfläche angezeigt (optional)
capacity: 80 # Akkukapazität (kWh), optional
vin: *****
clientid: xxx
loadpoints:
- title: Easee Wallbox Carport
charger: wallbox5
mode: pv
enable: # Definiert das Verhalten, wann im PV Modus das Laden begonnen wird
threshold: 0 # einschalten, wenn x Minute lang mindestens x W Netzbezug (+) / Einspeisung (-) vorhanden ist. Wert für resdidualPower wird abgezogen.
delay: 3m # Definiert, wie lange der threshold (Schwellenwert) erfüllt sein muss
disable: # Definiert das Verhalten, wann im PV Modus das Laden unterbrochen wird
threshold: 400 # ausschalten, wenn x Minuten lang mehr als x W Netzbezug (+) / Einspeisung (-) vorhanden ist. Wert für resdidualPower wird abgezogen
delay: 5m # Definiert, wie lange der threshold (Schwellenwert) erfüllt sein muss
soc:
poll:
mode: connected # default = charging
interval: 15m # 60m default
estimate: true # true default extrapolation
site:
title: Mein Zuhause
residualPower: 200 # 250W Hausverbrauch (Testhalber auf 200 reduziert am 1.4.25)
meters:
grid: grid1
pv:
- pv2
battery:
- battery3
tariffs:
co2:
type: template
template: grünstromindex
zip: *****
grid:
### static grid price
type: fixed
price: 0.242 # [currency]/kWh
feedin:
type: fixed
price: 0.082 # [currency]/kWh
solar:
- type: template # 5 Module Dach-NW
template: forecast-solar
lat: *****
lon: *****
dec: 10 # [Dachneigung in Grad, 0 = horizontal, 90 = vertikal]
kwp: 1.875
az: 138 # [Ausrichtung in Grad: -180 = Norden, -90 = Osten, 0 = Süden, 90 = Westen, 180 = Norden]
interval: 1h # optional (1h ist min im Free Account)
- type: template # 7 Module Dach-SO
template: forecast-solar
lat: *****
lon: *****
dec: 10
kwp: 2.625
az: -42
interval: 1h
- type: template # 3 Module Dach-S
template: forecast-solar
lat: *****
lon: *****
dec: 12
kwp: 1.125
az: 1
interval: 1h
- type: template # 3 Module Carport-NW
template: forecast-solar
lat: *****
lon: *****
dec: 15
kwp: 1.125
az: 143
interval: 1h
- type: template # 3 Module Carport-SO
template: forecast-solar
lat: *****
lon: *****
dec: 15
kwp: 1.125
az: -37
interval: 1h
influx:
url: *****
database: evcc # InfluxDB v2.x uses term `bucket` but for compatibility still named `database` here
token: *****
org: xxx
# services:
# - type: telegram
# token: *****
# chats: *****
# - # Liste von Chat oder Group IDs. Jeder Eintrag benötigt ein - Zeichen am Anfang und muss in einer eigenen Zeile sein.
# - -GroupID #Achtung Group IDs in Telegram haben ein -Zeichen
# - ChatID
Configuration (UI)
{
"site": {
"title": "Mein Zuhause",
"grid": "grid1",
"pv": ["pv2"],
"battery": ["battery3"],
"aux": null,
"ext": null
},
"loadpoints": [],
"charger": [],
"meter": [],
"vehicle": [],
"mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"influx": {"url":"http://10.13.13.115:8086","database":"evcc","token":"***","org":"xxx","user":"","password":"","insecure":false},
"shm": {"vendorId":"","deviceId":""},
"interval": 20
}
Logs
[site ] DEBUG 2025/12/03 09:20:06 grid power: 493W
[site ] DEBUG 2025/12/03 09:20:06 battery 1 soc: 0%
[site ] DEBUG 2025/12/03 09:20:06 battery has priority at soc 0% (< 35%)
[site ] DEBUG 2025/12/03 09:20:06 site power: 693W
[lp-1 ] DEBUG 2025/12/03 09:20:06 charge total import: 6033.376kWh
[lp-1 ] DEBUG 2025/12/03 09:20:06 charger status: A
[site ] DEBUG 2025/12/03 09:20:07 solar forecast: accumulated 0.010Wh from 2025-12-03 09:19:47 +0100 CET to 2025-12-03 09:20:07 +0100 CET
[site ] DEBUG 2025/12/03 09:20:07 solar forecast: produced 2841.114
[site ] DEBUG 2025/12/03 09:20:07 solar forecast: accumulated 2710.552kWh, produced 2841.114kWh, scale 1.048
[site ] DEBUG 2025/12/03 09:20:26 ----
[lp-1 ] DEBUG 2025/12/03 09:20:26 charge power: 0W
[lp-1 ] DEBUG 2025/12/03 09:20:26 charge currents: [0 0 0]A
[site ] DEBUG 2025/12/03 09:20:26 grid power: 505W
[site ] DEBUG 2025/12/03 09:20:26 pv 1 power: 123W
[site ] DEBUG 2025/12/03 09:20:26 !! solar production: accumulate add pv2 0.000W power (was: Accumulated: 2841.114kWh updated: 2025-12-03 09:20:06 +0100 CET)
[site ] DEBUG 2025/12/03 09:20:26 !! solar production: accumulate moved pv2 from 2841.114 to 2841.114
[site ] DEBUG 2025/12/03 09:20:26 battery 1 power: -2W
[site ] DEBUG 2025/12/03 09:20:26 battery 1 soc: 0%
[site ] DEBUG 2025/12/03 09:20:26 battery has priority at soc 0% (< 35%)
[site ] DEBUG 2025/12/03 09:20:26 site power: 705W
[lp-1 ] DEBUG 2025/12/03 09:20:26 charge total import: 6033.376kWh
[lp-1 ] DEBUG 2025/12/03 09:20:26 charger status: A
[site ] DEBUG 2025/12/03 09:20:27 solar forecast: accumulated 0.010Wh from 2025-12-03 09:20:07 +0100 CET to 2025-12-03 09:20:27 +0100 CET
[site ] DEBUG 2025/12/03 09:20:27 solar forecast: produced 2841.114
[site ] DEBUG 2025/12/03 09:20:27 solar forecast: accumulated 2710.562kWh, produced 2841.114kWh, scale 1.048
Version
v0.211.0
Du kannst ja mal im Container selbst schauen, welcher Prozess genau die CPU-Auslastung hervorruft.. sollte es evcc sein, müssten man dann mal genauer schauen..
Ich habe das selbe Problem. EVCC läuft bei mir in einem Docker Container unter Debian.
I am running into the same issue. Running EVCC as add-on in Home Assistant and it starts to use lots of CPU all of a sudden
ich habe mit top nachgesehen und es war tatsächlich evcc. gleichzeitig habe ich bemerkt, das meine BMW CarData Authentifizierung abgelaufen war. Ich habe jetzt diesen Workaround benutzt und seitdem ist die CPU Last wieder normal: https://github.com/evcc-io/evcc/issues/25790#issuecomment-3608936172
What did you change on 28.? When starting with —profile, what insights does /debug/pprof give?
Thanks for finding this. Looks like a side-issue of https://github.com/evcc-io/evcc/issues/25790.