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

[UNIFIED] bitwarden/self-host:2023.9.3-beta High CPU usage #164

Open
hardwareadictos opened this issue Oct 20, 2023 · 2 comments
Open

[UNIFIED] bitwarden/self-host:2023.9.3-beta High CPU usage #164

hardwareadictos opened this issue Oct 20, 2023 · 2 comments

Comments

@hardwareadictos
Copy link

hardwareadictos commented Oct 20, 2023

Just updated my APP container to 2023.9.3-beta and Bitwarden now is sitting on +- 50% of VM CPU Usage:

image

As the base image is a very lightweigh Debian, i cannot check processes. Can someone help me with this?

On my test container all seems fine, only 5 users which are using the service as before. My docker-compose file:

version: "3.8"

services:
  bitwarden:
    container_name: Bitwarden-PRO
    depends_on:
      - db
    env_file:
      - ./env/bw-settings.env
    image: bitwarden/self-host:2023.9.3-beta
    restart: unless-stopped
    ports:
      - "8085:8080"
    volumes:
      - ./bitwarden:/etc/bitwarden

  db:
    container_name: BitwardenDB-PRO
    env_file:
      - ./env/db-settings.env
    image: mariadb:10
    restart: always
    volumes:
      - ./db:/var/lib/mysql

Thanks in advance.

Edit 1: Is even getting worse:

image

@hardwareadictos hardwareadictos changed the title bitwarden/self-host:2023.9.3-beta High CPU usage [UNIFIED] bitwarden/self-host:2023.9.3-beta High CPU usage Oct 20, 2023
@Aviator7595
Copy link

Same for me. Dotnet api.dll and identity.dll are consuming more than 50% of CPU every 10 seconds. To reproduce, it is necessary to login from several devices. Once having this issue, the only solution is to remove the container and run it again from scratch which is very painful. @dev team: please acknowledge the issue so we know it will be fixed some time in the future

@DevSecNinja
Copy link

Same issue of high CPU spikes on 2024.5.0-beta. As soon as I spin up Bitwarden, the CPU load rises very fast to load average: 2.93, 0.95, 0.51. Nothing strange in the logs. After deleting the containers, I go back to load average: 0.21, 0.24, 0.27. My config is located here: https://github.com/DevSecNinja/home/blob/main/docker/ansible/templates/compose-modules/bitwarden.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants