-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Labels
awaiting feedbackdependenciesPull requests that update a dependency filePull requests that update a dependency fileupcoming features
Description
Describe the bug
This is something I've noticed recently. It seems that bazarr when idling causes my CPU to spike constantly.
I've checked the logs and noticed some ffprobe errors for a bluray video file. I've switched to mediainfo after that and these errors are gone now but the CPU usage is still abnormal for an idling app.
name: downloaders
x-common-labels: &common-labels
com.centurylinklabs.watchtower.enable: "true"
x-cert-label: &cert-label
server.custom.cert: "true"
x-common: &common
labels: *common-labels
extra_hosts:
- "host.docker.internal:host-gateway"
- "${LAXSS_PLEX_DOMAIN}:host-gateway"
- "${LAXSS_DOMAIN}:host-gateway"
- "${LAXSS_DOWNLOAD_STATION_DOMAIN}:host-gateway"
restart: unless-stopped
networks:
- downloaders_network
x-common-env: &common-env
TZ: ${TZ}
x-linuxserver-arr-mods-env: &linuxserver-arr-mods-env
DOCKER_MODS: linuxserver/mods:universal-package-install
INSTALL_PACKAGES: openssl
x-media-volume: &media-volume ${LAXSS_MEDIA_PATH}:/media
x-modcache: &modcache ${LAXSS_MODCACHE_PATH}:/modcache
x-ssl-pfx: &ssl-pfx ${LAXSS_PFX_CERT_PATH}:${CONTAINER_PFX_PATH}:ro
x-ssl-cert: &ssl-cert ${LAXSS_SSL_CERT_PATH}:${CONTAINER_SSL_CERT_PATH}:ro
x-ssl-key: &ssl-key ${LAXSS_PRIVATE_KEY_PATH}:${CONTAINER_PRIVATE_KEY_PATH}:ro
services:
postgres:
<<: *common
image: postgres:17
container_name: downloaders_postgres
command: postgres -c 'max_connections=200'
shm_size: 512m
labels:
- wud.watch=false
- com.centurylinklabs.watchtower.enable=false
healthcheck:
test: ["CMD-SHELL", "/pg_healthcheck.sh"]
start_period: 10s
interval: 30s
timeout: 20s
retries: 3
volumes:
- postgres-data:/var/lib/postgresql/data
- /volume1/docker/docker-scripts/init-multiple-databases.sh:/docker-entrypoint-initdb.d/init-multiple-databases.sh:ro
- /volume1/docker/docker-scripts/pg_healthcheck.sh:/pg_healthcheck.sh:ro
environment:
POSTGRES_MULTIPLE_DATABASES: ${POSTGRES_MULTIPLE_DATABASES}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
<<: *common-env
bazarr:
<<: *common
image: lscr.io/linuxserver/bazarr:latest
container_name: bazarr
healthcheck:
test: |
curl -ILfs --max-time 3 http://localhost:${BAZARR_PORT}/system/ping > /dev/null \
|| exit 1
start_period: 10s
interval: 30s
timeout: 20s
retries: 3
depends_on:
postgres:
condition: service_healthy
radarr:
condition: service_healthy
sonarr:
condition: service_healthy
environment:
PUID: ${BAZARR_PUID}
PGID: ${DOWNLOADERS_PGID}
POSTGRES_ENABLED: true
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_DATABASE: ${BAZARR_MAINDB_NAME}
POSTGRES_USERNAME: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
WEBUI_PORTS: ${BAZARR_PORT}/tcp,${BAZARR_PORT}/udp
<<: *common-env
volumes:
- ${CONFIG_BASE_FOLDER}/bazarr/config:/config
- *media-volume
- *modcache
ports:
- ${BAZARR_PORT}:${BAZARR_PORT}To Reproduce
Steps to reproduce the behavior:
- Deploy the bazarr with a similar compose
- Track the CPU usage
Expected behavior
When idling, bazarr should not consume too much system resources.
Screenshots
Software (please complete the following information):
- Bazarr: 1.5.2
- Radarr version 5.26.2.10099
- Sonarr version 4.0.15.2941
- OS: DSM 7.2.2
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
awaiting feedbackdependenciesPull requests that update a dependency filePull requests that update a dependency fileupcoming features