Hi Kevin, Thanks for testing it. I got the same when I was using postgresql for the database so I thought I was doing something wrong. On 1/29/06, Kevin Kinsey <kdk@xxxxxxxxxx> wrote: > > chris smith wrote: > > >Hi all, > > > >I'm trying to work out threaded apps and I'm trying to use the pcntl > >functions. > > > >I can get it working ok without using a database but when I plug the > >database in I get 'lost connection during query' errors. > > > >Does anyone have any suggestions or a working example ? > > > >Thanks! > > > >My code: > > > > > > > > Your code works for me, *most* of the time - say, 96%++. I tested > with small values for $childrencount (2 up to 200). I'd hesitate to > speculate, but it smells like an SQL server performance issue to > my weak nose...(IANAE). > > Kevin Kinsey > DaleCo, S.P. > > -- > Never offend people with style when you can offend them with substance. > -- Sam Brown, The Washington Post, January 26, 1977 > > >