Skip to content

Fingerprinting: Too Many Open Files #153

@DLu

Description

@DLu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions