Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 13:57:05 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        graeme@echidna.com (Graeme Tait)
Cc:        jcwells@u.washington.edu (Jason C. Wells), lvagner@ibm.net (George Vagner), questions@FreeBSD.ORG
Subject:   Re: ftp autologout
Message-ID:  <199910181757.NAA13573@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <380B1E96.1B27@echidna.com> from Graeme Tait at "Oct 18, 1999 06:20:22 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Graeme Tait wrote,
[snip]
> What appeared to be happening in my case was that client connections were failing in mid 
> transfer. This can apparently leave ftpd in an indefinite wait. I was advised to try the 
> following to clear out these connections:
> 
> # sysctl -w net.inet.tcp.always_keepalive=1
> 
> This seems to have done the job. I believe it kills idle connections after 4 hours.

Small note, there is an rc.conf switch to set this,

tcp_keepalive="YES"             # Kill dead TCP connections (or NO).

It is set on in /etc/defaults/rc.conf. That is, it is set on by
default.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910181757.NAA13573>