From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Brehl, Blake" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: enabling tcp keepalive, 1st time Date: Tue, 29 Oct 2002 10:02:04 -0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035914666 23699 80.91.224.249 (29 Oct 2002 18:04:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 18:04:26 +0000 (UTC) Cc: "Cottrell, Ken" Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 186aj3-0006A5-00 for ; Tue, 29 Oct 2002 19:04:25 +0100 Original-Received: (qmail 28046 invoked by uid 5); 29 Oct 2002 18:05:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28037 invoked by uid 49493); 29 Oct 2002 18:05:26 -0000 Original-Received: from Blake.Brehl@anritsu.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-1.6/5.0):. Processed in 0.463087 secs); 29 Oct 2002 18:05:26 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 29 Oct 2002 18:05:25 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4R00E1H8X04X@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 29 Oct 2002 13:05:25 -0500 (EST) Original-Received: from mailhost2.us.anritsu.com (mailhost2.us.anritsu.com [65.192.11.4]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4R00E6U8WU4M@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 29 Oct 2002 13:05:18 -0500 (EST) Original-Received: from mail pickup service by mailhost2.us.anritsu.com with Microsoft SMTPSVC; Tue, 29 Oct 2002 10:04:23 -0800 Original-Received: from moh-exc-001.us.anritsu.com ([172.26.1.92]) by mailhost2.us.anritsu.com with Microsoft SMTPSVC(5.0.2195.3779); Tue, 29 Oct 2002 10:04:10 -0800 Original-Received: by moh-exc-001.us.anritsu.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Oct 2002 10:06:52 -0800 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Internet Mail Service (5.5.2653.19) X-OriginalArrivalTime: 29 Oct 2002 18:04:10.0437 (UTC) FILETIME=[94D03750:01C27F75] Xref: main.gmane.org gmane.os.tru64.managers:2244 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2244 Original post below. Thank you's to responses from Andy Wagg and Dennis Sylvester. Also received 2 reply's from a database list, and contacted Compaq Support. All pointed in the direction of being aggressive in lowering the tcp_keepalive time, setting at 5 or even 2 minutes for the entire cycle. Compaq Support reflected they have Database customers which cycle under a minute, leveraging a keepcnt of 2 or 1. The concern is other applications, and native services using TCP. FTP, RCP and NFS come to mind. I've set the following 2 minute cycle on the development box, will run it for a week, then push it to live. tcp_keepidle 60 seconds (120 ticks) tcp_keepcnt 4 tcp_keepintvl 15 seconds (30 ticks) Best Regards, Blake > Andy Wagg: >Our systems are running with the keep alives set so a connection is >dropped after a maximum of two minutes. I have never noticed any adverse effects. > Dennis Sylvester: >I don't know what DB vendor you are referring to but >tcp_keepidle at 600 (five minutes) has solved any problems we >have had in the past and not adversely affected Oracle or >Informix and worked well on all systems. >I have made these changes across hundreds of servers from >4100's to GS320's and from 4.x to 5.1A without ever changing >anything except tcp_keepidle, and never having to go below 600 ticks. > Tom Bascom: >I've gone as low as 5 minutes. No problems. Ever. > Geoff Crawford > I don't see much wrong with 5 min. That's about as much patience I could possibly muster in > today's fairly reasonable networks. >-----Original Message----- >From: Brehl, Blake >Sent: Monday, October 28, 2002 11:20 AM >To: Tru64 Mailing List (tru64-unix-managers@ornl.gov) >Subject: enabling tcp keepalive, 1st time > > >We're enabling tcp_keepalive (tcp_keepalive_default = 1) for >the first time, to address telnet clients that drop without >returning a signal 1. This has been compounded by remote >clients on VPN on LINKSYS Cable modems. > >I'm trying to determine how aggressive I can make the >settings. The Database vendor has recommended minimums, but >doesn't qualify why. I've tried more aggressive setting on a >development box and haven't seen any problems. > > Factory db vendor >Development > Default minimums Box try > >TCP_KEEPIDLE 2 hours 15 minutes 3 minutes >TCP_KEEPINTVL 75 seconds 60 seconds >15 seconds >TCP_KEEPCNT 8 6 8 > >Total time >till disconnect 2 hr 10 minutes 21 minutes 5 minutes > >It would be wonderful if these drops could be cleaned up in >minutes. I'm wondering how aggressive I can set this? Please >share your settings and any warnings. > >Tru64UNIX 5.1 pk1, and 5.1A pk1 > > >Best Regards, > >Blake Brehl >Sr. Database Administrator >Anritsu Company United States >Morgan Hill, CA > This message is intended for the use of the individual/entity to whom it is addressed. This message may contain privileged information exempt from disclosure. If you are not the addressee, distribution or copying of this message, or dissemination of the information contained herein is strictly prohibited. If you should receive this message in error, please destroy it, or return to sender, Thank You