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

Zombie files buildup #284

Open
hariprasanths opened this issue Nov 20, 2023 · 1 comment
Open

Zombie files buildup #284

hariprasanths opened this issue Nov 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hariprasanths
Copy link

Bug report

Checklist

  • [x ] I have searched for similar bugs in the issues.
  • [x ] I will add the bug label to this issue.

Version Info

  • Ytmdl version: 2023.07.27
  • yt-dlp version: 2023.11.14

How Ytmdl was installed?

pip

Console Log

Ignoring error:  [Errno 24] Too many open files

Description

I am getting the following error when trying to download a playlist with 600+ songs:
[Errno 24] Too many open files

Default limit in my distro for simulatenous open files seems to be 1024, fetched via ulimit -n

Following are some the places where I think the files aren't closed:
download archive file, song's cache file, artwork file

Can be reproed everytime a big playlist is downloaded

@hariprasanths hariprasanths added the bug Something isn't working label Nov 20, 2023
@deepjyoti30
Copy link
Owner

deepjyoti30 commented Nov 21, 2023

@hariprasanths If possible can you share the playlist link or any similar playlist that you were able to reproduce the issue with?

Following are some the places where I think the files aren't closed:
download archive file, song's cache file, artwork file

Do you have any reason to think these are the places where the issue is occurring?

Also, please share the exact ytmdl command you are using so it's possible for me to debug this.

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

2 participants