On Jan 9, 2005, at 9:33 AM, Francis Hwang wrote: > Jason, > > Is the line 6334 that shows up in the traceback this line: > >> consumers.each{|th| th.join} Yeah, that's the line that's timing out and why I was wondering if there's a global timeout value for the script that I can either modify up or turn off completely. > And one tip, which may not have anything to do with this problem but > might make your code easier to understand and/or debug: Since > threading is so bloody difficult, I try to make it affect as little of > the program as possible. In a case like your code, for example, I > would've let the threaded part simply handle the loading of the web > pages, but let the parsing happen afterward when all the threads have > been joined again. This is how FeedBlender > (http://feedblender.rubyforge.org/) does it, so that way if there's a > bug I can figure out if it's because of the threading or not. OK, I'll give that a try. Thanks, Francis! -- Jason N Perkins <http://sneer.org/>