This may or may not be related or useful, but:<div>I got this 'too many files open' error a while ago in a patch with many readsf~ (without 'any') objects.<div><br></div><div>I did this:</div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; ">edit /etc/security/limits.conf</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; ">and add :<br>
[username] soft nofile 4096<br>[username] hard nofile 4096</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; ">(see <a href="http://ubuntuforums.org/showthread.php?t=638597">http://ubuntuforums.org/showthread.php?t=638597</a> )</span></div>
<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; ">or some variation of it...</span></div><div><font class="Apple-style-span" face="Verdana, Arial, Tahoma" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font></div><div>It seemed to help a bit, but still it happened now and then.</div><div>The problem went away when I transfered the patch to a computer with more ram.</div><div>But it is strange that playing a few sound files would require so much memory.</div>
<div>I'm not sure if it's related at all to readsf~ or readanysf~. </div><div>I got this error when using pix_image a few times too...</div><div><br></div><div>gr,</div><div>Tim</div><div><br><div class="gmail_quote">
2010/6/22 august <span dir="ltr"><<a href="mailto:august@alien.mur.at">august@alien.mur.at</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div>
</div><div class="h5">> Seems that my first post has been truncated ...<br>
><br>
> ---------- Forwarded message ----------<br>
><br>
> Hi everyone,<br>
><br>
> Sorry to interfere but I'm experiencing similar issues and cleaning up<br>
> the headers doesn't seem to solve the problem ...<br>
><br>
> >From user's point of view (no dev skills in here !), it seems that pd<br>
> gets overloaded by too many file's openings.<br>
><br>
> On my system (osx 10.6, Pd-Ext 0.42.5-RC2, hcs' readanysf intel<br>
> binary), and no matter the format and the size of the files, 240<br>
> successive openings lead to:<br>
><br>
> "Invalid file or unsupported codec.<br>
> Current file is either invalid or an unsupported codec"<br>
><br>
> Then Pd refuses to save and reports :<br>
><br>
> "error: /Users/me/Documents/PD/stress.pd: Too many open files"<br>
><br>
> I join a simple "stress patch" that tries to isolate the error.<br>
><br>
> Thanks for helping a bit more !<br>
><br>
> Cheers,<br>
><br>
> Pierre<br>
<br>
<br>
</div></div>Pierre,<br>
<br>
thanks for the report and for the test patch. However, I cannot<br>
produce your error.<br>
<br>
I am using ubuntu, pd 0.42.5<br>
your test patch seems to work like it should here.<br>
<br>
The "Too many open files" error is also not from readanysf~<br>
<br>
can you explain a little further? Are you hearing noise like Derek<br>
reported?<br>
<br>
<br>
best -august.<br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div></div>