From owner-freebsd-net@FreeBSD.ORG Fri May 27 15:16:42 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF697106564A for ; Fri, 27 May 2011 15:16:42 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp181.iad.emailsrvr.com (smtp181.iad.emailsrvr.com [207.97.245.181]) by mx1.freebsd.org (Postfix) with ESMTP id A82A18FC0C for ; Fri, 27 May 2011 15:16:42 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp48.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 2E97C16838B for ; Fri, 27 May 2011 11:00:06 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp48.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 304AB168861 for ; Fri, 27 May 2011 11:00:02 -0400 (EDT) User-Agent: Microsoft-MacOutlook/14.10.0.110310 Date: Fri, 27 May 2011 10:59:59 -0400 From: Tom Worster To: Message-ID: Thread-Topic: Can net.inet.tcp.msl be set per interface? Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Can net.inet.tcp.msl be set per interface? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 15:16:42 -0000 [[I asked this yesterday on -questions, probably the wrong list]] If a server has one interface to the Internet and another interface to a switch connecting to a few other servers, it seems TCP's MSL value might reasonably be set a lot lower on the private interface. I'm specifically thinking of a lot of short MySQL connections(*) between the servers on the private LAN. The average number of MySQL client connections in TIME_WAIT will be proportional to MSL. And, while the circumstances under which a long MSL would help anything are unimaginable on the LAN, they are not on the Internet. So can net.inet.tcp.msl be set per interface? (*) Or similar: Sphinx, memcached, perhaps. Tom