Re: php broken pipe
| From: | user at domain dot invalid | Date: | Wed, 17 Nov 2004 10:08:16 +0000 |
| Subject: | Re: php broken pipe | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202280@lists.php.net to get a copy of this message | ||
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@fccn.pt> 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.