Firebird 2.0
Administrators
Manual

DUMMY PACKET INTERVAL

Purpose

Use the DummyPacketsInterval parameter to specify the number of seconds to wait on a silent client connection before the server sends dummy packets to request acknowledgment.

Syntax

<pckt_interval> ::=
   DummyPacketInterval = <integer>



Semantics

This parameter sets the number of seconds (integer) the server should wait on a silent client connection before sending dummy packets to request acknowledgment.

Warning: do not use this option on a Win32 server running TCP/IP clients. It causes a persistent increase in usage of kernel non-paged memory which may hang or crash Windows on the client side as explained at http://support.microsoft.com/default.aspx?kbid=296265.

Win32-with-TCP/IP apart, it's the only way to detect and disconnect inactive clients when either NamedPipes (NetBEUI), XNET or IPC protocols are used. There are no known issues on POSIX systems.

Normally, Firebird uses SO_KEEPALIVE socket option to keep track of active TCP/IP connections. If you do not like default 2-hour keepalive timeout, then adjust your server operating system settings appropriately:

The default value is 0 on all platforms (Disable).

Example

The below example sets the dummy packet interval to 60 seconds, appropriate for the above mentioned protocols:

DummyPacketInterval = 3600



See also

Connection settings: CONNECTION TIMEOUT, IPC NAME, REMOTE SERVICE SETTINGS, REMOTE BIND ADDRESS, REMOTE PIPE NAME, TCP NO NAGLE, TCP REMOTE BUFFER SIZE,


previous page goto index next page

Legal information