From: "Roy J. Milican" Date: 2002-04-18T10:46:46+09:00 Subject: Re: resolv.rb Bug Greetings, Wednesday, April 17, 2002, 6:20:59 PM, you wrote: YM> Hi, YM> In message "resolv.rb Bug" YM> on 02/04/18, "Roy J. Milican" writes: YM> | I wrote earlier today about a problem I was having with a scrip YM> | that occurred after iterating through 256 emails. Well I finally YM> | got smart and printed out the error I rescued from my resolve.rb YM> | call. The error was "Too many open files - "/etc/resolv.conf"" The YM> | code I was using to get the mx records was straight out of the YM> | resolv.rb files examples in the comment. So resolv.rb is not closing YM> | the file after it gets the dns servers. Anyone else run into the YM> | problem? YM> Could you tell me about your platform OS and the version of Ruby YM> you're using? It is very important information. You can get the YM> information by "ruby -v". YM> matz. Sorry that was really poor of me not to include that information! ruby 1.6.6 (2001-12-26) [i586-linux] This is a RedHat 7.2 system. I also tried it on a machine with ruby 1.6.7 and RedHat 6.1 and had the same issue. Roy -- Roy Milican roy@milican.com