digi303
(Carsten)
October 31, 2021, 9:10am
1
The statistical evaluation seems a little overwhelmed with the automatic winter time changeover.
Another reason why this should be abolished…
After a restart this morning, everything is working again.
2 Likes
My installation crashed during the night. Never happened before. I think it has something to do with the daylight saving time.
1 Like
digi303
(Carsten)
October 31, 2021, 9:23am
3
You are right. Not only the statistical evaluation is/was affected. All sensors have stopped.
1 Like
mpk1001
October 31, 2021, 10:45am
4
Same here. All sensors stopped around 2am when BST ended. A restart fixed it.
1 Like
sciant
October 31, 2021, 8:33pm
6
I also had this problem. Couldn’t figure out why statistics were all messed up, till I saw every graph crashed at DST change.
It’s my first year having a running installation so I don’t know if it’s normal or whether or not to open a bug report.
digi303
(Carsten)
October 31, 2021, 8:44pm
7
I don’t remember similar problems in the spring. In my opinion, the reason is the statistical sensor evaluations that have been added since mid-2021.
The error will probably have occurred with all “newer” installations. Therefore probably also with the developers
It would be interesting to know if anyone with an installation >2021.9 had NO problems.
There is already a bug report open and no, it’s not normal.
opened 01:13AM - 31 Oct 21 UTC
### The problem
In UK 2021/10/31, at 01:59:59, time got back to 01:00:00 (sum… mer to winter, Daylight saving), since then (it's 01:08) home-assistant has a high CPU usage, using a core at 100%.
```
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
42985e0497d4 hass 104.53% 251.7MiB / 7.658GiB 3.21% 0B / 0B 103MB / 1.77MB 15
```
Edit: memory usage seems to increase quickly:
at 01:14:00
```
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
42985e0497d4 hass 104.93% 703.1MiB / 7.658GiB 8.97% 0B / 0B 112MB / 1.98MB 16
```
Edit2: Switching lights work fine but it does not appear on the state history of the light.
### What version of Home Assistant Core has the issue?
core-2021.10.6
```
REPOSITORY TAG IMAGE ID CREATED SIZE
homeassistant/home-assistant stable e0a45773808a 12 days ago 1.14GB
```
I could not find the exact image id on docker hub, but here is the label section of `docker inspect`
```
"io.hass.arch": "amd64",
"io.hass.base.arch": "amd64",
"io.hass.base.image": "homeassistant/amd64-base:3.14",
"io.hass.base.name": "python",
"io.hass.base.version": "2021.09.1",
"io.hass.type": "core",
"io.hass.version": "2021.10.6",
"org.opencontainers.image.authors": "The Home Assistant Authors",
"org.opencontainers.image.created": "2021-10-18 06:34:53+00:00",
"org.opencontainers.image.description": "Open-source home automation platform running on Python 3",
"org.opencontainers.image.documentation": "https://www.home-assistant.io/docs/",
"org.opencontainers.image.licenses": "Apache License 2.0",
"org.opencontainers.image.source": "https://github.com/home-assistant/core",
"org.opencontainers.image.title": "Home Assistant",
"org.opencontainers.image.url": "https://www.home-assistant.io/",
"org.opencontainers.image.version": "2021.10.6"
```
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
_No response_
### Link to integration documentation on our website
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
Interesting `The recorder queue reached the maximum size of 30000`
```txt
2021-10-30T09:40:10.884156228Z 2021-10-30 10:40:10 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [139778345277952] Disconnected: Did not receive auth message within 10 seconds
2021-10-30T09:40:22.323961416Z 2021-10-30 10:40:22 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c9fa7b5955dcce6df0ec16e14a28b23623563b96373bc5a66c0413c418093008 from 192.168.1.117
2021-10-31T01:03:30.660640416Z 2021-10-31 01:03:30 ERROR (MainThread) [homeassistant.components.recorder] The recorder queue reached the maximum size of 30000; Events are no longer being recorded
2021-10-31T01:04:57.487128770Z [cont-finish.d] executing container finish scripts...
2021-10-31T01:04:57.489476430Z [cont-finish.d] done.
```
at `2021-10-31T01:03:30.660640416Z` I restarted the container to see if it could fix the issue, it did not.
```
### Additional information
Maybe after 02:00:00 it will stop?
Everything is working properly: light switches, the mobile phone app is working properly, the website served by the container (server:8123) is working properly.
Restarting the container or restarting the PC does not solve the high CPU usage