From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96117805806075.tru64-unix-managers.marc@archive.invalid> From: Oisin McGuinness Date: Fri, 16 Jun 2000 17:53:09 +0000 To: tru64-unix-managers Subject: Question re change in tcptwreorder from 4.0D to 4.0F X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96117805806075 Dear Al: 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.