Date: Tue, 4 Jul 2006 01:01:59 -0300 (BRT) From: scuba@centroin.com.br To: freebsd-questions@freebsd.org Subject: TCP timeout Message-ID: <20060704004255.Q42828@trex.centroin.com.br>
next in thread | raw e-mail | index | archive | help
Hi folks, I'm facing some troubles with mail server on a busy slow link. I'm getting a lot of "sendmail: SYSERR: collect: read timeout on connection from" entries in the logs. I found this page showing an workaround for Solaris. Is it applicable for Free BSD 5.4? If positive, is there any sysctl variable to tun it? -----------------xxxxxx----------------- TCP/IP connections time out too soon, especially on slow links. The tcp/ip abort interval in Solaris 2.x is too short, the default value is 2 minutes. The result is that when an ACK isn't received in 2 minutes, the connection is closed. This is most often seen by sendmail, which will log sendmail: SYSERR: collect: read timeout on connection from ... You can fix this by running following command which increases the timeout to 8 minutes (unit is millisec), which is the Solaris 2.4+ (and patched 2.3) default. /usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 480000 -----------------xxxxxx----------------- - Marcelo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060704004255.Q42828>