From: Oisin McGuinness <oisin@sbcm.com>
Subject: Question re change in tcptwreorder from 4.0D to 4.0F
Date: 2000/06/16 [thread overview]
Message-ID: <394A6C34.1E352D02@sbcm.com> (raw)
(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
reply other threads:[~2000-06-16 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox