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 load all the time, especially from DB #1281

Open
BorisBrock opened this issue May 28, 2024 · 0 comments
Open

High CPU load all the time, especially from DB #1281

BorisBrock opened this issue May 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BorisBrock
Copy link

BorisBrock commented May 28, 2024

πŸ› Bug Report

  • [ x] πŸ“ I've Included a ZIP file containing my librephotos log files
  • [ x] ❌ I have looked for similar issues (including closed ones)
  • [ x] 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

I have installed LibrePhotos via Docker a few days ago. On day one I added ~300 photos. The photos were imported successfully, and everything looked fine.
But after several hours without any operations (no more imports, not opening the Web UI), the CPU load of the the backend and the db is very high:

  • Backend: 1-2%
  • DB: 7-12% (yikes!)
    In the Web UI no running operations are shown.
    Even after restarting the docker container (or the whole machine), the CPU load remains high.
    IMHO LibrePhotos should be idle with close to 0% CPU load.

Screenshot from 2024-05-28 08-36-52

Logs:
logs.zip

πŸ” How can we reproduce it:

  • Fresh installation via Docker Compose
  • Add a few photos
  • Wait 24 hours
  • Check CPU usage with docker stats

Please provide additional information:

  • πŸ’» Operating system: Ubuntu Server 22.04
  • βš™ Architecture (x86 or ARM): x86
  • πŸ”’ Librephotos version: 2024w18
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.): Docker
    • πŸ‹ If Docker or Kubernets, provide docker-compose image tag: latest
  • πŸ“ How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): Local file system (SSD)
  • ☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.): Proxmox
@BorisBrock BorisBrock added the bug Something isn't working label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant