I agree - the files probably haven't been closed properly.
Also, you might try the ulimit command to see what your current limits are
- it's probably 1024 open files at a time (which is typically enough).
Dave
> Are you closing the files after you read the resource information> from them?>> Presumably the info gets saved somewhere and you don't actually> need the file to be open anymore...>> Ralph>> Michael A. Brooke wrote:>> Hello,>>>> I am running Tcl / Tk 8.3 running on a RedHat Linux 9 (kernel 2.2) and>> lately I have been receiving the following messages after the>> application has been running awhile:>>>> couldn't open "<filename>.resources": too many open files>>>> I use these resource files to generate buttons or menus.>>>> Can anyone give me a glue as to what the problem might be. Is this a>> memory issue?>>>>>> Mike Brooke>>>> POS Development>> Magstar Inc.>> Phone (416) 447-1442 x 273>> Email mbro...@magstarinc.com>>>> _______________________________________________>> ActiveTcl mailing list>> Acti...@listserv.ActiveState.com>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs>>>>>> _______________________________________________> ActiveTcl mailing list> Acti...@listserv.ActiveState.com> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs>
--
Dave Fisher
Co-founder, Senior Developer
www.cotse.net