<div dir="ltr">Nice catch!</div><div class="gmail_extra"><br><div class="gmail_quote">On 21 August 2015 at 12:42, Justin M Wozniak <span dir="ltr"><<a href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
Sorry about that- it looks like we missed the point in the docs for<br>
this new Tcl feature that it returns an open file descriptor. We will<br>
close it as you suggest.<br>
Thanks<br>
Justin<br>
<div class="HOEnZb"><div class="h5"><br>
On 08/21/2015 08:19 AM, Peter Wortmann wrote:<br>
> Hi swift-user<br>
><br>
> We are using Swift/T in a way that does a lot of "@stdout=..."<br>
> indirections. However, this seems to lead to Turbine running out of file<br>
> descriptors at a certain point. A bit of poking showed that this calls<br>
> through to "mktemp" in "files.tcl", which states:<br>
><br>
> # This can fail with "too many open files"<br>
> file tempfile result $tmpdir/.turbine<br>
><br>
> Is this a known bug? I tried to work around it, and simply closing the<br>
> returned file channel seems to work:<br>
><br>
> close [file tempfile result $tmpdir/.turbine]<br>
><br>
> Is there a reason to keep it open?<br>
><br>
> Greetings,<br>
> Peter<br>
><br>
> _______________________________________________<br>
> Swift-user mailing list<br>
> <a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" rel="noreferrer" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Justin M Wozniak<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" rel="noreferrer" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</div></div></blockquote></div><br></div>