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

Fingerprinting: Too Many Open Files #84

Open
DLu opened this issue Jul 15, 2024 · 0 comments
Open

Fingerprinting: Too Many Open Files #84

DLu opened this issue Jul 15, 2024 · 0 comments

Comments

@DLu
Copy link

DLu commented Jul 15, 2024

Maybe this is not a standard use case, but if you run fingerprint_file for approximately 500 files in a row, you can end up with an OSError.

  File "/usr/local/lib/python3.10/dist-packages/audioread/__init__.py", line 127, in audio_open
    return BackendClass(path)
  File "/usr/local/lib/python3.10/dist-packages/audioread/rawread.py", line 59, in __init__
    self._fh = open(filename, 'rb')
OSError: [Errno 24] Too many open files: '/home/dlu/Music/PathOfAnMp3ThatMakesMeSeemHipAndCool.mp3'

Running on Ubuntu 22.04.

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

1 participant