Re: pcntl functions and database

From: Date: Sun, 29 Jan 2006 02:48:30 +0000
Subject: Re: pcntl functions and database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229411@lists.php.net to get a copy of this message
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 (#229411) next »