I use Thread 2.5.2 with Tcl 8.4.9 and latterly started running in the
Solaris 'too many open files' error.
Hermann
'file channels' only returns channels registered in the current
interp(/thread). Are you sure that the other threads are
exiting cleanly? It would seem not, as you do seem to be
hitting a simple case of too many unclosed files.
--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos