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

beet alt ballons memory, may lead to OOM #76

Open
knuurr opened this issue Jan 24, 2024 · 1 comment
Open

beet alt ballons memory, may lead to OOM #76

knuurr opened this issue Jan 24, 2024 · 1 comment
Labels

Comments

@knuurr
Copy link

knuurr commented Jan 24, 2024

Using beets-alternavives. I Installed it within docker container. I'm deploying it using docker-compose with hard limits for usage:

    deploy:
      resources:
        limits:
          # Adjust as needed
          cpus: '0.5'
          memory: '2048M'

I've discovered that running command may lead to OOM condition.
Here's part from inside of container when ran from interactive shell:

/src # beet alt 

usage: beet alt [-h] {update,list-tracks} ...
beet alt: error: the following arguments are required: {update,list-tracks}
/src # 
/src # beet alt uptade mp3-mirror
usage: beet alt [-h] {update,list-tracks} ...
beet alt: error: argument {update,list-tracks}: invalid choice: 'uptade' (choose from 'update', 'list-tracks')
/src # beet alt update mp3-mirror
     
Killed
/src # 
/src # 

Note: "Killed" occured automatically. I didn't do that manually.

This is confirmed from my Grafana output:

obraz

@geigerzaehler
Copy link
Owner

Thanks for reporting this, @knuurr. At the moment I don’t have any idea what could cause the high memory consumption. Would you mind sharing your configuration with me so I can investigate further? If you feel comfortable sharing it with me, a copy of the SQLite database with your library would also be very helpful. It’s usually named library.db and you can send it to me via email.

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

No branches or pull requests

2 participants