Subject | RE: [firebird-support]Staying alive |
---|---|
Author | Helen Borrie |
Post date | 2008-11-10T12:00:55Z |
At 09:57 PM 10/11/2008, Paul Hope wrote:
If the server is v.2.0 or higher, this might have something to do with it:
http://tracker.firebirdsql.org/browse/CORE-1357
./heLen
> I am guessing that after the connectionThe dummy packets are issued by the server, not the client. If the client is there, it answers; if the server doesn't get an answer, it informs the network that it is no longer interested in the client. Eventually the network's timeout delay will expire and it will close the socket. On the client's part, it doesn't have any way to know it has lost the connection until it tries to send a request across the wire.
>drops the FB client issues its next keep alive packet, this fails (like the
>first ping) and it flags the connection as lost. Further database activity
>then fails.
>If I reconnect this succeeds but I cant tell if it has tried more than onceAssuming you are still using IBO, its reconnection behaviour will be whatever you have set up for it.
>to establish the connection, I assume it has.
>So if my accumulation of guesses are correct then the quation becomes - doesIt's not the client causing the problem you're describing; but in both your case and the OP's case, *something* aint going right between server and client socket.
>the stay client stay alive try more than once, or just try once and give up
>and could this be the problem?
If the server is v.2.0 or higher, this might have something to do with it:
http://tracker.firebirdsql.org/browse/CORE-1357
./heLen