From: "David G. Andersen" Date: 2004-10-20T21:40:11+09:00 Subject: Re: Popen and operations failing later On Tue, Oct 19, 2004 at 01:15:56PM +0900, David G. Andersen scribed: > A few more details about the problem I've been having with > a bad interaction between popen and various other calls. To > recap briefly: > > res = do a mysql query > > while (line = get_next_line) > ** something = res.fetch_row > .. do some work Just as a followup - bug located. One of the tables ended up blocking on read for a long time, causing the mysql server to time out its connection after 60 seconds (net_write_timeout variable in mysql server). Of course, there was no informative message like "hey, my connection timed out." No ruby bug. Go ruby! :) -Dave