Subject | Broken pipe in fork |
---|---|
Author | Rui Francisco |
Post date | 2004-11-16T09:39:08Z |
Hi,
i'm using firebird 1.5.1 superserver on a linux machine with a php script (php version 5.0.2)
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]
In the log file firebird.log i found the following messages:
crc2004 (Client) Tue Nov 16 10:17:42 2004
REMOTE INTERFACE/gds__detach: Unsuccesful detach from database.
Uncommitted work may have been lost
crc2004 (Client) Tue Nov 16 10:17:42 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
REMOTE INTERFACE/gds__detach: Unsuccesful detach from database.
Uncommitted work may have been lost
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
And continue the loop of the records of the query.
Is this a regular beaviour ? How can it be solved ?
I'm using Pear DB for database access.
Thanks you in advance
Rui Francisco
i'm using firebird 1.5.1 superserver on a linux machine with a php script (php version 5.0.2)
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]
In the log file firebird.log i found the following messages:
crc2004 (Client) Tue Nov 16 10:17:42 2004
REMOTE INTERFACE/gds__detach: Unsuccesful detach from database.
Uncommitted work may have been lost
crc2004 (Client) Tue Nov 16 10:17:42 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
crc2004 (Client) Tue Nov 16 10:17:43 2004
REMOTE INTERFACE/gds__detach: Unsuccesful detach from database.
Uncommitted work may have been lost
crc2004 (Client) Tue Nov 16 10:17:43 2004
INET/inet_error: send errno = 32
And continue the loop of the records of the query.
Is this a regular beaviour ? How can it be solved ?
I'm using Pear DB for database access.
Thanks you in advance
Rui Francisco