Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 19:03:51 -0700
From:      Graeme Tait <graeme@echidna.com>
To:        cjclark@home.com
Cc:        "Jason C. Wells" <jcwells@u.washington.edu>, George Vagner <lvagner@ibm.net>, questions@freebsd.org
Subject:   Re: ftp autologout
Message-ID:  <380BD187.23C4@echidna.com>
References:  <199910181757.NAA13573@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Crist J. Clark wrote:
> 
> 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.


My 2.2.7S doesn't have this in rc.conf - perhaps it was added with 3.x.



-- 
Graeme Tait - Echidna



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?380BD187.23C4>