-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
mDNS and systemd-resolved high CPU usage #1397
Comments
When checking journalctl, do you see messages like described in #1163? Just to understand the architecture a bit better: Is your Home Assistant installation dual-homed (e.g. in the Chromecast VLAN as well as in a regular LAN?) |
Also: Do you have maybe test installations running with the same Hostname or Instance name? |
The home assistant install is not dual homed, just on the main LAN. I only ever had one instance running at a time. I tried renaming the host but didn't seem to make a difference. I'll check the kernel logs tonight |
Yes, I see exactly what is in that issue. For whatever reason i cant copy the text from the window, but here is a screenshot - https://imgur.com/a/vTsPxFa No other instances of home assistant are running on my network. |
Can you try changing the hostname to something other than |
I renamed it to "HA" which fixed it. But then a restart of the VM brought it back. |
I am guessing this is the mDNS feature you are using? https://help.ui.com/hc/en-us/articles/360001004034-UniFi-Best-Practices-for-Managing-AirPlay-Chromecast-on-UniFi-Network#enable From what understand this really plays back the same mDNS packets to Home Assistant, and it seems that systemd-resolved detects that as a hostname conflict. Can you try follow this advice and disable mDNS reflector (while keeping mDNS repeater active)? In any case, since this really seems to be the same issue as #1163 I am closing this. Please post your findings in #1163. |
Hardware Environment
VirtualBox/VMWare player (both gave same symptoms)
Home Assistant OS release:
System Health
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Lovelace
Description of problem:
High CPU utilisation from systemd-resolved. CPU usage slowly creeps up and after about 20 mins is pegged at 100%. This happened with a fresh install (no backup image used, jsut a generic user created) and when i tried restoring from a backup. I have traced it back to running mDNS on my unifi system. If I disable mDNS the CPU usage of systemd-resolved drops back to under 1%. BUt without mDNS i cannot push my chromecast devices onto another VLAN.
Here is an example of a fresh install - https://imgur.com/sWLEeuf
Here is an example of my restored from backup - https://imgur.com/undefined
The text was updated successfully, but these errors were encountered: