If you're using 2.3.33, SO_KEEPALIVE should be set (see the ITS and CHANGES). You can look at your FreeBSD documentation to determine how to tune the kernel TCP parameters thereof.
On Fri, 9 Feb 2007, Dmitriy Kirhlarov wrote:
Hi, list.
I'm using openldap 2.3.33 on provider and consumer server on FreeBSD 6.x. Provider have real IP address. Consumer installed in local network with 172.16.x.x address behind Cisco Pix firewall with NAT. I'm using syncrepl replication (type=refreshAndPersist retry="500 +") and all work fine.
But, time-to-time, after reconfiguration, we are reloading translation table on PIX. As result, all installed tcp connections silently drops.
Consumer detect this situation after more them 1h (TCP timeout?). Is it possible decrease this time period?
WBR
Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com Building Successful Supply Chains - One Solution At A Time. www.oilspace.com