note 62578 added to function.pcntl-fork
| From: | spam at kacke dot de | Date: | Fri, 03 Mar 2006 18:52:48 +0000 |
| Subject: | note 62578 added to function.pcntl-fork | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104786@lists.php.net to get a copy of this message | ||
I disagree too with reinoud at hyves dot nl too.
It seems youll always get the mysql-error 0 "lost connetion during query" when massive
forking at the same time like
while x = mysql_fetch_array() -> fork
If you put for example a usleep between each fork youll dont loose the connection.
I figured that out sometimes and maybe its a "workaround" that helps
Toppi
----
Server IP: 217.160.72.57
Probable Submitter: 217.85.251.70
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.pcntl-fork.php
Edit -- http://master.php.net/note/edit/62578
Del: integrated -- http://master.php.net/note/delete/62578/integrated
Del: useless -- http://master.php.net/note/delete/62578/useless
Del: bad code -- http://master.php.net/note/delete/62578/bad+code
Del: spam -- http://master.php.net/note/delete/62578/spam
Del: non-english -- http://master.php.net/note/delete/62578/non-english
Del: in docs -- http://master.php.net/note/delete/62578/in+docs
Del: other reasons-- http://master.php.net/note/delete/62578
Reject -- http://master.php.net/note/reject/62578
Search -- http://master.php.net/manage/user-notes.php