[PD] readsf~ using up file handles

colet.patrice at free.fr colet.patrice at free.fr
Thu Jan 7 15:11:39 CET 2010


 Hello, this would work on linux:

http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

does this work on OSX?:

in /System/Library/StartupItems/SystemTuning/SystemTuning

modify following values:

sysctl -w kern.sysv.shmmax
sysctl -w kern.sysv.shmmin
sysctl -w kern.sysv.shmmni
sysctl -w kern.sysv.shmseg
sysctl -w kern.sysv.shmall

?

open twenty instances of readsf~ and trig it several times to reproduce the bug


Patko


Damian Stewart a écrit:

hey,

on OSX, if i accidentally trigger an infinite loop situation with a
readsf~, it eats up all Pd's filehandles; then when i try to save another
patch, i get

error: filename.pd: Too many open files

it seems to me as if readsf~ isn't freeing the filehandle if its call to
fopen fails.

-- 
damian stewart




More information about the Pd-list mailing list