From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d3b0ed2f519173f2,start X-Google-Attributes: gidfa528,public From: Oisin McGuinness Subject: Question re change in tcptwreorder from 4.0D to 4.0F Date: 2000/06/16 Message-ID: <394A6C34.1E352D02@sbcm.com>#1/1 X-Deja-AN: 635426967 Content-Transfer-Encoding: 7bit X-Accept-Language: en,el Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 961178681 204.141.189.14 (Fri, 16 Jun 2000 18:04:41 GMT) Organization: Sumitomo Bank Capital Markets MIME-Version: 1.0 NNTP-Posting-Date: Fri, 16 Jun 2000 18:04:41 GMT Newsgroups: comp.unix.tru64 (Question also asked of tru64-unix-managers mailing list; I forgot to sign it there...) Dear All: We have an in-house TCP application which updates a Sybase database over both LAN and WAN connections. Since a server in London was updated from 4.0D to 4.0F, the application occasionally stalls, and builds up a backlog of data on the client side (in New York, the client has had no recent changes; it is on an Ultrix4.3a box; the application has had no changes in 2 years), and needs to be restarted to kick it back into update mode. (The application in question is designed to stay up all the time; in practice it gets restarted as needed, but this is usually very infrequently.) Looking at various network configurations on the updated server, the only difference I see between this box, and a similar 4.0D machine is that the tcptwreorder variable (value visible in sysconfig -q inet), has changed from 1 in 4.0D to 0 in 4.0F. (And the public domain netconfig program shows a change in max socket buffer size (sb_max) size from 128K in 4.0D to 1M in 4.0F, but I don't think this matters.) The explanation of this variable given in the System Tuning Guide is: tcptwreorder Enables (1) or disables (0) movement of TCP inpcbs in TIME_WAIT state to end of inpcb list. Default value: 1 (enabled) Questions: 1. Can anyone say what the practical import of this variable change is? 2. And does anyone know why a change happened? (By the way, I've looked in Stevens "TCP/IP Illustrated" Volume 2 for any related variables/code, but haven't found anything directly useful; there is a discussion of manipulating the inpcb lists in Chapter 22, with a mention on page 750 of a proposal to move pcb's around on the list under some circumstances. But there is no mention of code related to TIME_WAIT state. Chapters 28 and 29 on tcp input seem possibly relevant, but I can't understand them sufficiently to tell.) I don't know if this is responsible for the problem we are seeing or not, but I would be grateful for responses. Thanks in advance. Oisin McGuinness Sumitomo Bank Capital Markets 277 Park Avenue New York NY 10172 USA oisin@sbcm.com 1-212-224-4913