Re: php broken pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <rui.francisco@xxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux