Skip to content
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

high CPU usage from plugin-audio #1288

Closed
luka6000 opened this issue Mar 24, 2021 · 3 comments
Closed

high CPU usage from plugin-audio #1288

luka6000 opened this issue Mar 24, 2021 · 3 comments
Labels
board/raspberrypi Raspberry Pi Boards stale

Comments

@luka6000
Copy link

Hardware Environment

  • [X ] Raspberry Pi4

Home Assistant OS release:
ha > info
arch: armv7
channel: stable
docker: 19.03.13
features:

  • reboot
  • shutdown
  • services
  • network
  • hostname
  • hassos
    hassos: "5.12"
    homeassistant: 2021.3.4
    hostname: homeassistant
    logging: info
    machine: raspberrypi4
    operating_system: Home Assistant OS 5.12
    state: running
    supervisor: 2021.03.6
    supported: true
    supported_arch:
  • armv7
  • armhf
    timezone: Europe/Warsaw

Description of problem:

high CPU usage of plugin-audio

ha > audio info
audio:
application: []
card: []
input: []
output:

applications: []
card: null
default: true
description: Dummy Output
index: 0
mute: false
name: auto_null
volume: 1
host: 172.30.32.4
update_available: false
version: 2021.02.1
version_latest: 2021.02.1

It is the most CPU hungry process of all containers

PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
1169 root 20 0 87.8m 39.3m 0.0 2.1 24:01.66 S python3 -m supervisor
1760 root 20 0 789.6m 17.6m 0.7 0.9 9:04.55 S coredns -conf /etc/corefile
2499 root 9 -11 77.2m 4.7m 8.7 0.2 594:06.99 S pulseaudio --system -vvv --disallow-exit --exit-idle-time=-+
2761 root 20 0 0.7m 0.0m 0.0 0.0 3:10.00 S mdns-repeater -f eth0 hassio
3163 root 20 0 16.5m 15.8m 0.7 0.8 4:52.70 S mosquitto -c /etc/mosquitto.conf
3875 root 20 0 265.7m 67.9m 9.3 3.6 399:23.11 S deCONZ -platform xcb --auto-connect=1 --dbg-info=1 --dbg-ap+
2936 root 20 0 430.9m 270.0m 9.3 14.1 41:33.77 S python3 -m homeassistant --config /config

Every second it takes 100% CPU core for a short while. It's 10x the actual homeassistant core process. And it logs a lot! My sd card won't make it for long with this amount of logs.
How can I disable audio plugin? I really don't need it.

@agners agners added the board/raspberrypi Raspberry Pi Boards label Mar 30, 2021
@agners
Copy link
Member

agners commented Mar 30, 2021

Duplicate of home-assistant/plugin-audio#60

@agners agners marked this as a duplicate of home-assistant/plugin-audio#60 Mar 30, 2021
@stale
Copy link

stale bot commented Jun 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 11, 2021
@agners agners removed the wontfix label Oct 6, 2021
@github-actions
Copy link

github-actions bot commented Jan 4, 2022

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/raspberrypi Raspberry Pi Boards stale
Projects
None yet
Development

No branches or pull requests

2 participants