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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php