[PD] [soundfiler] - too many open files / bad file descriptor error (meaning?)

Claude Heiland-Allen claude at mathr.co.uk
Fri Feb 8 09:38:15 CET 2019


Hi Alexandre,

On 08/02/2019 05:57, Alexandre Torres Porres wrote:
> First is "*/soundfiler_read: test.wav: Too many open files/*".

Something is almost certainly leaking file handles, when too many are 
open at once, you can't open any more (neither for reading nor writing), 
so all kinds of bad problems happen.  The default limit is usually 1000 
or so, on Linux you can check and change with the `ulimit` command.

It's probably not [soundfiler] or [clone] to blame, but more likely some 
external that isn't properly closing the files (or directories) that it 
opens.

On Windows I think you need to close with the right function w.r.t. 
DLL/EXE module boundaries.  There may be something in the list archives 
about this.


Claude
-- 
https://mathr.co.uk





More information about the Pd-list mailing list