Re: pcntl functions and database

From: Date: Sun, 29 Jan 2006 03:29:55 +0000
Subject: Re: pcntl functions and database
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-229413@lists.php.net to get a copy of this message
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@daleco.biz> 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 > > >

« previous php.general (#229413) next »