You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running beet import with the chroma plugin enabled. After some time beets cannot open any more files. I think what happens is that beet runs out of the maximum allowed file descriptors.
When I run lsof | grep python I can see that there are over 600 open sockets.
The problem goes away when I disable the chroma plugin.
The problem seems to occur because the fingerprinting via library fails on some files. While the fingerprinting eventually succeeds as chroma tries the next backend (fpcalc) the socket from the first attemt seems to stay open.
Problem
I'm running
beet import
with the chroma plugin enabled. After some time beets cannot open any more files. I think what happens is that beet runs out of the maximum allowed file descriptors.When I run
lsof | grep python
I can see that there are over 600 open sockets.The problem goes away when I disable the chroma plugin.
The problem seems to occur because the fingerprinting via library fails on some files. While the fingerprinting eventually succeeds as chroma tries the next backend (fpcalc) the socket from the first attemt seems to stay open.
I patched beets locally to pass
force_fpcalc
to https://github.com/beetbox/pyacoustid. This also causes the problem to dissapear.Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: