I did and the result is the same.

Could this be a bug in the pcntl_fork or pcntl_wait ?

The error occours after i the child died. The connection to the database is closed.

Thanks
Rui Francisco

Greg Donald wrote:
On Tue, 16 Nov 2004 09:59:57 +0000, Rui Francisco <[EMAIL PROTECTED]> wrote:

I'm using a query in loop and go through all records to do some operations
in the middle of the script i fork(); to do other things
When i return to the parent process i try to make one update and i get
the following error
[nativecode=Unable to complete network request to host "127.0.0.1".
Error writing data to the connection. Broken pipe]


You might try pcntl_fork() instead.



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to