On 21.06.2013 09:49, Vlad Khorsun wrote:
>>      We are experiencing problems with unreceived db events.
>> After some investigation found out that the connection to the event
>> (aux) port from the client to the server is lost and the client never
>> understands about that.
>> Many routers and firewalls automatically close idle connections after a
>> certain period of time and we suspect this is the reason which makes
>> event connection to be lost sometimes.
>>
>> Is there a way to detect the lost connection or better prevent it from
>> being closed.
>> For the db connection we are successfully using DummyPacketInterval but
>> it does not affect the event connection.
>>
>> The server is on Linux.
>> /proc/sys/net/ipv4/tcp_keepalive_time is 7200
>> /proc/sys/net/ipv4/tcp_keepalive_intvl is 75
>> /proc/sys/net/ipv4/tcp_keepalive_probes is 9
>> RemoteAuxPort  is set to permanent value.
>      It is always a good idea to tell exact build number of both client and 
> server.
> And server architecture, of course.
server LI-V6.3.2.26510 Firebird 2.5
client windows 2.5.2

I will change /proc/sys/net/ipv4/tcp_keepalive_time to 120 but 
understanding when a connection is dropped will be most reliable.

Regards.
Veselin Pavlov

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to