You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Roark, Mike" <MR...@orbitz.com> on 2007/10/04 22:35:38 UTC

Tomcat connections not closing.

Hello Tomcat users,

We are having difficulty with connections to Tomcat remaining open
after the client hits "stop" in their browser.

This only seems to happen when we have a particular combination of
load balancer hardware in front of the tomcats. We are also running
apache and have not seen the same behavior there, even though the
load balancer hardware and config is the same.

We are using Tomcat 5.5.20 on linux 2.6.9-34.0.1.ELsmp. It is
running standalone. We are using APR in some environments and not
in others, but see the problem in either configuration.

We have captured tcpdumps and see the pattern at the bottom of this
email. It appears that the web application tries to retransmit until
it gets a RST from the client after about 12 minutes. When we finally
get the RST, we get a lot of exceptions (some of them are due to the
fact that our session timeout is shorter than the length of these
requests. I can add them later if they would be useful).

When we do threaddumps of the java process, many threads appear to
be stuck in java.net.SocketOutputStream.socketWrite0

Thread [0x00000fd] exceeded timeout of [180000] millis. Current
execution stack
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOut
putBuffer.java:746)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
        at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
        at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
oWrite(InternalOutputBuffer.java:769)
        at
org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutp
utFilter.java:125)
        at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
er.java:579)
        at org.apache.coyote.Response.doWrite(Response.java:559)
        at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
ava:361)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
        at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
        at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
ava:235)
        at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
        at
sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
        at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
        at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
        at
org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:189)
        at
org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:80)
        at
org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
ava:535)
        at
org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
        at
org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:294)
        at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)
        at
org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142)
        at
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)
	...


I have done some research, but I'm not finding a cut and dried answer
to this issue. It seems that the RST behavior of browsers has been
noted before:
http://pages.cpsc.ucalgary.ca/~carey/papers/2005/TCP-Resets.pdf
It seems like the main difference between having the load balancers
or not is the timing of when we get the RST.

Some questions:
Is there anything that can be done on the tomcat side to protect itself?
Why does it not send a FIN back when it gets a FIN from the client? 
Why would it be different for Apache?

			Thanks,
				-Mike Roark


Notes on this output. Our application runs on port 8585. The client
sends
a FIN at packet#33. The web app begins retransmitting at packet#36.


No.     Time                       Source                Destination
Protocol Info
      1 2007-09-14 09:49:42.560292 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [SYN] Seq=0 Len=0 MSS=1380 WS=0 TSV=723301379
TSER=0

Frame 1 (78 bytes on wire, 78 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 0, Len: 0

No.     Time                       Source                Destination
Protocol Info
      2 2007-09-14 09:49:42.560308 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [SYN, ACK] Seq=0 Ack=1 Win=2965504 Len=0 MSS=1460
TSV=1021518924 TSER=723301379 WS=9

Frame 2 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 0, Ack: 1, Len: 0

No.     Time                       Source                Destination
Protocol Info
      3 2007-09-14 09:49:42.560570 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=1 Ack=1 Win=57344 Len=0 TSV=723301379
TSER=1021518924

Frame 3 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1, Ack: 1, Len: 0

No.     Time                       Source                Destination
Protocol Info
      4 2007-09-14 09:49:42.560742 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [PSH, ACK] Seq=1 Ack=1 Win=57344 Len=201
TSV=723301379 TSER=1021518924[Packet size limited during capture]

Frame 4 (267 bytes on wire, 96 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1, Ack: 1, Len: 201
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
      5 2007-09-14 09:49:42.560752 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=1 Ack=202 Win=7168 Len=0 TSV=1021518924
TSER=723301379

Frame 5 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 1, Ack: 202, Len: 0

No.     Time                       Source                Destination
Protocol Info
      6 2007-09-14 09:49:42.564056 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [PSH, ACK] Seq=1 Ack=202 Win=7168 Len=200
TSV=1021518927 TSER=723301379[Packet size limited during capture]

Frame 6 (266 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 1, Ack: 202, Len: 200
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
      7 2007-09-14 09:49:42.589198 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=202 Ack=201 Win=57144 Len=0
TSV=723301382 TSER=1021518927

Frame 7 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 202, Ack: 201, Len: 0

No.     Time                       Source                Destination
Protocol Info
      8 2007-09-14 09:49:43.560451 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [PSH, ACK] Seq=202 Ack=201 Win=57144 Len=204
TSV=723301479 TSER=1021518927[Packet size limited during capture]

Frame 8 (270 bytes on wire, 96 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 202, Ack: 201, Len: 204
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
      9 2007-09-14 09:49:43.561287 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [PSH, ACK] Seq=201 Ack=406 Win=8192 Len=200
TSV=1021519925 TSER=723301479[Packet size limited during capture]

Frame 9 (266 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 201, Ack: 406, Len: 200
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     10 2007-09-14 09:49:43.589234 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=406 Ack=401 Win=56944 Len=0
TSV=723301482 TSER=1021519925

Frame 10 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 406, Ack: 401, Len: 0

No.     Time                       Source                Destination
Protocol Info
     11 2007-09-14 09:49:44.561410 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [PSH, ACK] Seq=406 Ack=401 Win=56944 Len=201
TSV=723301579 TSER=1021519925[Packet size limited during capture]

Frame 11 (267 bytes on wire, 96 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 406, Ack: 401, Len: 201
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     12 2007-09-14 09:49:44.562388 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [PSH, ACK] Seq=401 Ack=607 Win=9216 Len=200
TSV=1021520926 TSER=723301579[Packet size limited during capture]

Frame 12 (266 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 401, Ack: 607, Len: 200
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     13 2007-09-14 09:49:44.589258 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=607 Ack=601 Win=56744 Len=0
TSV=723301582 TSER=1021520926

Frame 13 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 607, Ack: 601, Len: 0

No.     Time                       Source                Destination
Protocol Info
     14 2007-09-14 09:49:45.396035 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [PSH, ACK] Seq=607 Ack=601 Win=56744 Len=1213
TSV=723301662 TSER=1021520926[Packet size limited during capture]

Frame 14 (1279 bytes on wire, 96 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 607, Ack: 601, Len: 1213
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     15 2007-09-14 09:49:45.435807 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=0
TSV=1021521800 TSER=723301662

Frame 15 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 601, Ack: 1820, Len: 0

No.     Time                       Source                Destination
Protocol Info
     16 2007-09-14 09:49:52.102997 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=1368
TSV=1021528468 TSER=723301662[Packet size limited during capture]

Frame 16 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 601, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     17 2007-09-14 09:49:52.103024 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=1969 Ack=1820 Win=11776 Len=1368
TSV=1021528468 TSER=723301662[Packet size limited during capture]

Frame 17 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 1969, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     18 2007-09-14 09:49:52.103486 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=1820 Ack=3337 Win=54008 Len=0
TSV=723302333 TSER=1021528468

Frame 18 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1820, Ack: 3337, Len: 0

No.     Time                       Source                Destination
Protocol Info
     19 2007-09-14 09:49:52.103497 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=3337 Ack=1820 Win=11776 Len=1368
TSV=1021528469 TSER=723302333[Packet size limited during capture]

Frame 19 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 3337, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     20 2007-09-14 09:49:52.103501 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=4705 Ack=1820 Win=11776 Len=1368
TSV=1021528469 TSER=723302333[Packet size limited during capture]

Frame 20 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 4705, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     21 2007-09-14 09:49:52.103505 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=6073 Ack=1820 Win=11776 Len=1368
TSV=1021528469 TSER=723302333[Packet size limited during capture]

Frame 21 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 6073, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     22 2007-09-14 09:49:52.104423 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=1820 Ack=6073 Win=51272 Len=0
TSV=723302333 TSER=1021528469

Frame 22 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1820, Ack: 6073, Len: 0

No.     Time                       Source                Destination
Protocol Info
     23 2007-09-14 09:49:52.104430 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=7441 Ack=1820 Win=11776 Len=1368
TSV=1021528469 TSER=723302333[Packet size limited during capture]

Frame 23 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 7441, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     24 2007-09-14 09:49:52.104434 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [PSH, ACK] Seq=8809 Ack=1820 Win=11776 Len=792
TSV=1021528469 TSER=723302333[Packet size limited during capture]

Frame 24 (858 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 8809, Ack: 1820, Len: 792
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     25 2007-09-14 09:49:52.105409 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=1820 Ack=8809 Win=48536 Len=0
TSV=723302333 TSER=1021528469

Frame 25 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1820, Ack: 8809, Len: 0

No.     Time                       Source                Destination
Protocol Info
     26 2007-09-14 09:49:52.116085 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=9601 Ack=1820 Win=11776 Len=1368
TSV=1021528481 TSER=723302333

Frame 26 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 9601, Ack: 1820, Len: 1368
Data (30 bytes)

0000  09 20 20 3c 2f 75 6c 3e 0a 09 09 20 3c 2f 64 69   .  </ul>... </di
0010  76 3e 0a 09 0a 09 20 20 20 3c 64 69 76 20         v>....   <div 

No.     Time                       Source                Destination
Protocol Info
     27 2007-09-14 09:49:52.116104 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=10969 Ack=1820 Win=11776 Len=1368
TSV=1021528481 TSER=723302333[Packet size limited during capture]

Frame 27 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 10969, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     28 2007-09-14 09:49:52.116116 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=12337 Ack=1820 Win=11776 Len=1368
TSV=1021528481 TSER=723302333[Packet size limited during capture]

Frame 28 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     29 2007-09-14 09:49:52.116472 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [ACK] Seq=1820 Ack=10969 Win=46376 Len=0
TSV=723302334 TSER=1021528469

Frame 29 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1820, Ack: 10969, Len: 0

No.     Time                       Source                Destination
Protocol Info
     30 2007-09-14 09:49:52.116485 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=13705 Ack=1820 Win=11776 Len=1368
TSV=1021528482 TSER=723302334[Packet size limited during capture]

Frame 30 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 13705, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     31 2007-09-14 09:49:52.116489 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=15073 Ack=1820 Win=11776 Len=1368
TSV=1021528482 TSER=723302334[Packet size limited during capture]

Frame 31 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 15073, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     32 2007-09-14 09:49:52.116493 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=16441 Ack=1820 Win=11776 Len=1368
TSV=1021528482 TSER=723302334[Packet size limited during capture]

Frame 32 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 16441, Ack: 1820, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     33 2007-09-14 09:49:52.116675 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [FIN, ACK] Seq=1820 Ack=12337 Win=45008 Len=0
TSV=723302334 TSER=1021528481

Frame 33 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1820, Ack: 12337, Len: 0

No.     Time                       Source                Destination
Protocol Info
     34 2007-09-14 09:49:52.116683 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [PSH, ACK] Seq=17809 Ack=1821 Win=11776 Len=792
TSV=1021528482 TSER=723302334[Packet size limited during capture]

Frame 34 (858 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 17809, Ack: 1821, Len: 792
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     35 2007-09-14 09:49:52.133216 10.229.135.75         10.229.155.161
TCP      8585 > 25872 [ACK] Seq=18601 Ack=1821 Win=11776 Len=1368
TSV=1021528498 TSER=723302334[Packet size limited during capture]

Frame 35 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 18601, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     36 2007-09-14 09:49:52.324437 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021528689 TSER=723302334[Packet size limited
during capture]

Frame 36 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     37 2007-09-14 09:49:52.739340 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021529104 TSER=723302334[Packet size limited
during capture]

Frame 37 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     38 2007-09-14 09:49:53.567177 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021529932 TSER=723302334[Packet size limited
during capture]

Frame 38 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     39 2007-09-14 09:49:55.222845 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021531588 TSER=723302334[Packet size limited
during capture]

Frame 39 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     40 2007-09-14 09:49:58.534182 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021534900 TSER=723302334[Packet size limited
during capture]

Frame 40 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     41 2007-09-14 09:50:05.156850 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021541524 TSER=723302334[Packet size limited
during capture]

Frame 41 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     42 2007-09-14 09:50:18.402201 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021554772 TSER=723302334[Packet size limited
during capture]

Frame 42 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     43 2007-09-14 09:50:44.893934 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021581268 TSER=723302334[Packet size limited
during capture]

Frame 43 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     44 2007-09-14 09:51:37.877469 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021634260 TSER=723302334[Packet size limited
during capture]

Frame 44 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     45 2007-09-14 09:53:23.844523 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021740244 TSER=723302334[Packet size limited
during capture]

Frame 45 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     46 2007-09-14 09:55:23.824754 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021860244 TSER=723302334[Packet size limited
during capture]

Frame 46 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     47 2007-09-14 09:57:23.804975 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1021980244 TSER=723302334[Packet size limited
during capture]

Frame 47 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     48 2007-09-14 09:59:23.785185 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1022100244 TSER=723302334[Packet size limited
during capture]

Frame 48 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     49 2007-09-14 10:01:23.766361 10.229.135.75         10.229.155.161
TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
Win=11776 Len=1368 TSV=1022220244 TSER=723302334[Packet size limited
during capture]

Frame 49 (1434 bytes on wire, 96 bytes captured)
Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
Cisco_01:01:35 (00:00:0c:01:01:35)
Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
10.229.155.161 (10.229.155.161)
Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
(25872), Seq: 12337, Ack: 1821, Len: 1368
[Packet size limited during capture: JXTA truncated]

No.     Time                       Source                Destination
Protocol Info
     50 2007-09-14 10:01:23.766557 10.229.155.161        10.229.135.75
TCP      25872 > 8585 [RST, ACK] Seq=1821 Ack=12337 Win=23 Len=0

Frame 50 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
10.229.135.75 (10.229.135.75)
Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
(8585), Seq: 1821, Ack: 12337, Len: 0

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat connections not closing.

Posted by "Roark, Mike" <MR...@orbitz.com>.
Hi Martin,
	We are using version control. That isn't really the issue. The
problem is too much data, not too little. 
		-Mike


-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: Thursday, November 01, 2007 9:24 AM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

Mike-

I would strongly suggest use of Version Control for archiving your
configuration files
server.xml/web.xml and context.xml, catalina.policy, logging.properties,
workers.properties, tomcat-users.xml
In the case of axis you want to archive
axis2.xml/services.xml/modules.xml/services
In the case of struts you want to archive struts-default.xml
struts-portlet-default.xml
In this way you determine at least the version of the configurations
(and
hopefully date-time as well as Login)

HTH/
Martin--

----- Original Message -----
From: "Roark, Mike" <MR...@orbitz.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>; <rg...@apache.org>
Sent: Wednesday, October 31, 2007 11:04 AM
Subject: RE: Tomcat connections not closing.


Well, yes and no.

Yes, the problem has abated, and possibly been eliminated. However, we
have no idea what change fixed it. We changed nothing in tomcat, but
some changes were made at the network and in the application itself
(regularly scheduled updates). None of the changes were intended to fix
the problem, but it went away anyway.

I don't like it, since I assume the problem could come back at any time.
I still think Tomcat should be able to protect itself from this kind of
behavior, but I haven't had good luck yet with the suggested parameter
tweaks. At this point I'm not continuing to look into it, but just
keeping watch over it...

-Mike


-----Original Message-----
From: Ralph Goers [mailto:Ralph.Goers@dslextreme.com]
Sent: Saturday, October 27, 2007 10:48 AM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

Mike,

Have you been able to make any progress with this? I'm very interested
in the outcome as we experience the same problem.

Ralph

Roark, Mike wrote:
> Filip,
>
> Thanks for the help.
>
> You were right about the default for disableUploadTimeout. I must have
> been looking at 5.0 docs before, it looks like the default changed
> between 5.0 and 5.5.
>
> So I have now specified all three settings as you have them, and have
> had no effect. It seems like the socket remains open for as long as I
> feel like waiting. I have a perl script that will make a request and
> then not read the response (just sleeps), and another that will open a
> socket but not even write a GET line. Same result in both cases.
>
> I said that I could see the reads timeout, but now I'm not even seeing
> that. I would expect if I don't send a GET that the connectionTimeout
> would definitely apply.
>
> -Mike
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Martin Gainty <mg...@hotmail.com>.
Mike-

I would strongly suggest use of Version Control for archiving your
configuration files
server.xml/web.xml and context.xml, catalina.policy, logging.properties,
workers.properties, tomcat-users.xml
In the case of axis you want to archive
axis2.xml/services.xml/modules.xml/services
In the case of struts you want to archive struts-default.xml
struts-portlet-default.xml
In this way you determine at least the version of the configurations (and
hopefully date-time as well as Login)

HTH/
Martin--

----- Original Message -----
From: "Roark, Mike" <MR...@orbitz.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>; <rg...@apache.org>
Sent: Wednesday, October 31, 2007 11:04 AM
Subject: RE: Tomcat connections not closing.


Well, yes and no.

Yes, the problem has abated, and possibly been eliminated. However, we
have no idea what change fixed it. We changed nothing in tomcat, but
some changes were made at the network and in the application itself
(regularly scheduled updates). None of the changes were intended to fix
the problem, but it went away anyway.

I don't like it, since I assume the problem could come back at any time.
I still think Tomcat should be able to protect itself from this kind of
behavior, but I haven't had good luck yet with the suggested parameter
tweaks. At this point I'm not continuing to look into it, but just
keeping watch over it...

-Mike


-----Original Message-----
From: Ralph Goers [mailto:Ralph.Goers@dslextreme.com]
Sent: Saturday, October 27, 2007 10:48 AM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

Mike,

Have you been able to make any progress with this? I'm very interested
in the outcome as we experience the same problem.

Ralph

Roark, Mike wrote:
> Filip,
>
> Thanks for the help.
>
> You were right about the default for disableUploadTimeout. I must have
> been looking at 5.0 docs before, it looks like the default changed
> between 5.0 and 5.5.
>
> So I have now specified all three settings as you have them, and have
> had no effect. It seems like the socket remains open for as long as I
> feel like waiting. I have a perl script that will make a request and
> then not read the response (just sleeps), and another that will open a
> socket but not even write a GET line. Same result in both cases.
>
> I said that I could see the reads timeout, but now I'm not even seeing
> that. I would expect if I don't send a GET that the connectionTimeout
> would definitely apply.
>
> -Mike
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat connections not closing.

Posted by "Roark, Mike" <MR...@orbitz.com>.
Well, yes and no.

Yes, the problem has abated, and possibly been eliminated. However, we
have no idea what change fixed it. We changed nothing in tomcat, but
some changes were made at the network and in the application itself
(regularly scheduled updates). None of the changes were intended to fix
the problem, but it went away anyway.

I don't like it, since I assume the problem could come back at any time.
I still think Tomcat should be able to protect itself from this kind of
behavior, but I haven't had good luck yet with the suggested parameter
tweaks. At this point I'm not continuing to look into it, but just
keeping watch over it...

	-Mike
 

-----Original Message-----
From: Ralph Goers [mailto:Ralph.Goers@dslextreme.com] 
Sent: Saturday, October 27, 2007 10:48 AM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

Mike,

Have you been able to make any progress with this? I'm very interested 
in the outcome as we experience the same problem.

Ralph

Roark, Mike wrote:
> Filip,
>
> Thanks for the help.
>
> You were right about the default for disableUploadTimeout. I must have
> been looking at 5.0 docs before, it looks like the default changed
> between 5.0 and 5.5.
>
> So I have now specified all three settings as you have them, and have
> had no effect. It seems like the socket remains open for as long as I
> feel like waiting. I have a perl script that will make a request and
> then not read the response (just sleeps), and another that will open a
> socket but not even write a GET line. Same result in both cases.
>
> I said that I could see the reads timeout, but now I'm not even seeing
> that. I would expect if I don't send a GET that the connectionTimeout
> would definitely apply.
>
> 	-Mike
>
>   

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

Martin Gainty wrote:
> http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html
> 
> I would check the connectionLinger parameter

Version mismatch. :(

Please match versions next time you are attempting to give advise.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHI6KJ9CaO5/Lv0PARApqUAJ9ak71Ms+T68fZ6hrdaHAJMuT8WLwCfWyBu
XwEnZzo/Y9MKLYTAWLVT2Ow=
=YA5C
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Ralph Goers <Ra...@dslextreme.com>.
Mike,

Have you been able to make any progress with this? I'm very interested 
in the outcome as we experience the same problem.

Ralph

Roark, Mike wrote:
> Filip,
>
> Thanks for the help.
>
> You were right about the default for disableUploadTimeout. I must have
> been looking at 5.0 docs before, it looks like the default changed
> between 5.0 and 5.5.
>
> So I have now specified all three settings as you have them, and have
> had no effect. It seems like the socket remains open for as long as I
> feel like waiting. I have a perl script that will make a request and
> then not read the response (just sleeps), and another that will open a
> socket but not even write a GET line. Same result in both cases.
>
> I said that I could see the reads timeout, but now I'm not even seeing
> that. I would expect if I don't send a GET that the connectionTimeout
> would definitely apply.
>
> 	-Mike
>
>   

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat connections not closing.

Posted by "Roark, Mike" <MR...@orbitz.com>.
Filip,

Thanks for the help.

You were right about the default for disableUploadTimeout. I must have
been looking at 5.0 docs before, it looks like the default changed
between 5.0 and 5.5.

So I have now specified all three settings as you have them, and have
had no effect. It seems like the socket remains open for as long as I
feel like waiting. I have a perl script that will make a request and
then not read the response (just sleeps), and another that will open a
socket but not even write a GET line. Same result in both cases.

I said that I could see the reads timeout, but now I'm not even seeing
that. I would expect if I don't send a GET that the connectionTimeout
would definitely apply.

	-Mike


-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
Sent: Wednesday, October 10, 2007 1:18 PM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

Roark, Mike wrote:
> I did try this, but it didn't have an effect.
>
> I did notice that reads would timeout, but not writes.
>
> We were already using the default value of 60000 (60 secs), but our
>   
if you are using defaults, then you are not using the correct settings, 
|disableUploadTimeout defaults to "true", not false which is what you
want

|
> problem is around the 15 minute mark (of writing).
>   
yes, even this should not be the case, since Tomcat will set the default

timeout to 5 minutes.
try to set timeout="60000" as well, this is an undocumented option, but 
turns into effect when disableUploadTimeout="false"

you're total settings should be,

disableUploadTimeout="false"
connectionTimeout="60000"
timeout="60000"

the last timeout, should apply to your write timeout.

Filip
> 		-Mike
>
> -----Original Message-----
> From: Roark, Mike [mailto:MRoark@orbitz.com] 
> Sent: Friday, October 05, 2007 9:34 AM
> To: Tomcat Users List
> Subject: RE: Tomcat connections not closing.
>
> Thanks Filip.
>
> We believe that disableUploadTimeout is defaulting to false in our
> setup.
>
> connectionTimeout seems to refer to the time until the request URI is
> received. We are receiving the URI, the problem occurs when writing
the
> output to the client.
>
> We will give these recommendations a shot though, just to make sure.
>
> 		-Mike
>
>
> -----Original Message-----
> From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
> Sent: Thursday, October 04, 2007 4:03 PM
> To: Tomcat Users List
> Subject: Re: Tomcat connections not closing.
>
> try setting
>
> connectionTimeout="5000"
> disableUploadTimeout="false"
>
> I believe the 2nd parameter, should not set the timeout to infinite 
> while you are inside of a request
>
> Filip
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Roark, Mike wrote:
> I did try this, but it didn't have an effect.
>
> I did notice that reads would timeout, but not writes.
>
> We were already using the default value of 60000 (60 secs), but our
>   
if you are using defaults, then you are not using the correct settings, 
|disableUploadTimeout defaults to "true", not false which is what you want

|
> problem is around the 15 minute mark (of writing).
>   
yes, even this should not be the case, since Tomcat will set the default 
timeout to 5 minutes.
try to set timeout="60000" as well, this is an undocumented option, but 
turns into effect when disableUploadTimeout="false"

you're total settings should be,

disableUploadTimeout="false"
connectionTimeout="60000"
timeout="60000"

the last timeout, should apply to your write timeout.

Filip
> 		-Mike
>
> -----Original Message-----
> From: Roark, Mike [mailto:MRoark@orbitz.com] 
> Sent: Friday, October 05, 2007 9:34 AM
> To: Tomcat Users List
> Subject: RE: Tomcat connections not closing.
>
> Thanks Filip.
>
> We believe that disableUploadTimeout is defaulting to false in our
> setup.
>
> connectionTimeout seems to refer to the time until the request URI is
> received. We are receiving the URI, the problem occurs when writing the
> output to the client.
>
> We will give these recommendations a shot though, just to make sure.
>
> 		-Mike
>
>
> -----Original Message-----
> From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
> Sent: Thursday, October 04, 2007 4:03 PM
> To: Tomcat Users List
> Subject: Re: Tomcat connections not closing.
>
> try setting
>
> connectionTimeout="5000"
> disableUploadTimeout="false"
>
> I believe the 2nd parameter, should not set the timeout to infinite 
> while you are inside of a request
>
> Filip
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat connections not closing.

Posted by "Roark, Mike" <MR...@orbitz.com>.
I did try this, but it didn't have an effect.

I did notice that reads would timeout, but not writes.

We were already using the default value of 60000 (60 secs), but our
problem is around the 15 minute mark (of writing).

		-Mike

-----Original Message-----
From: Roark, Mike [mailto:MRoark@orbitz.com] 
Sent: Friday, October 05, 2007 9:34 AM
To: Tomcat Users List
Subject: RE: Tomcat connections not closing.

Thanks Filip.

We believe that disableUploadTimeout is defaulting to false in our
setup.

connectionTimeout seems to refer to the time until the request URI is
received. We are receiving the URI, the problem occurs when writing the
output to the client.

We will give these recommendations a shot though, just to make sure.

		-Mike


-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
Sent: Thursday, October 04, 2007 4:03 PM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

try setting

connectionTimeout="5000"
disableUploadTimeout="false"

I believe the 2nd parameter, should not set the timeout to infinite 
while you are inside of a request

Filip



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat connections not closing.

Posted by "Roark, Mike" <MR...@orbitz.com>.
Thanks Filip.

We believe that disableUploadTimeout is defaulting to false in our
setup.

connectionTimeout seems to refer to the time until the request URI is
received. We are receiving the URI, the problem occurs when writing the
output to the client.

We will give these recommendations a shot though, just to make sure.

		-Mike


-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] 
Sent: Thursday, October 04, 2007 4:03 PM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

try setting

connectionTimeout="5000"
disableUploadTimeout="false"

I believe the 2nd parameter, should not set the timeout to infinite 
while you are inside of a request

Filip



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
try setting

connectionTimeout="5000"
disableUploadTimeout="false"

I believe the 2nd parameter, should not set the timeout to infinite 
while you are inside of a request

Filip

Roark, Mike wrote:
> Hello Tomcat users,
>
> We are having difficulty with connections to Tomcat remaining open
> after the client hits "stop" in their browser.
>
> This only seems to happen when we have a particular combination of
> load balancer hardware in front of the tomcats. We are also running
> apache and have not seen the same behavior there, even though the
> load balancer hardware and config is the same.
>
> We are using Tomcat 5.5.20 on linux 2.6.9-34.0.1.ELsmp. It is
> running standalone. We are using APR in some environments and not
> in others, but see the problem in either configuration.
>
> We have captured tcpdumps and see the pattern at the bottom of this
> email. It appears that the web application tries to retransmit until
> it gets a RST from the client after about 12 minutes. When we finally
> get the RST, we get a lot of exceptions (some of them are due to the
> fact that our session timeout is shorter than the length of these
> requests. I can add them later if they would be useful).
>
> When we do threaddumps of the java process, many threads appear to
> be stuck in java.net.SocketOutputStream.socketWrite0
>
> Thread [0x00000fd] exceeded timeout of [180000] millis. Current
> execution stack
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>         at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>         at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOut
> putBuffer.java:746)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
> oWrite(InternalOutputBuffer.java:769)
>         at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutp
> utFilter.java:125)
>         at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
> er.java:579)
>         at org.apache.coyote.Response.doWrite(Response.java:559)
>         at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
> ava:361)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
> org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
> ava:235)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
>         at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
>         at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
>         at
> org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:189)
>         at
> org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:80)
>         at
> org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
> ava:535)
>         at
> org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
>         at
> org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:294)
>         at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)
>         at
> org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142)
>         at
> org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)
> 	...
>
>
> I have done some research, but I'm not finding a cut and dried answer
> to this issue. It seems that the RST behavior of browsers has been
> noted before:
> http://pages.cpsc.ucalgary.ca/~carey/papers/2005/TCP-Resets.pdf
> It seems like the main difference between having the load balancers
> or not is the timing of when we get the RST.
>
> Some questions:
> Is there anything that can be done on the tomcat side to protect itself?
> Why does it not send a FIN back when it gets a FIN from the client? 
> Why would it be different for Apache?
>
> 			Thanks,
> 				-Mike Roark
>
>
> Notes on this output. Our application runs on port 8585. The client
> sends
> a FIN at packet#33. The web app begins retransmitting at packet#36.
>
>
> No.     Time                       Source                Destination
> Protocol Info
>       1 2007-09-14 09:49:42.560292 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [SYN] Seq=0 Len=0 MSS=1380 WS=0 TSV=723301379
> TSER=0
>
> Frame 1 (78 bytes on wire, 78 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 0, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>       2 2007-09-14 09:49:42.560308 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [SYN, ACK] Seq=0 Ack=1 Win=2965504 Len=0 MSS=1460
> TSV=1021518924 TSER=723301379 WS=9
>
> Frame 2 (74 bytes on wire, 74 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 0, Ack: 1, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>       3 2007-09-14 09:49:42.560570 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1 Ack=1 Win=57344 Len=0 TSV=723301379
> TSER=1021518924
>
> Frame 3 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1, Ack: 1, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>       4 2007-09-14 09:49:42.560742 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=1 Ack=1 Win=57344 Len=201
> TSV=723301379 TSER=1021518924[Packet size limited during capture]
>
> Frame 4 (267 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1, Ack: 1, Len: 201
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>       5 2007-09-14 09:49:42.560752 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=1 Ack=202 Win=7168 Len=0 TSV=1021518924
> TSER=723301379
>
> Frame 5 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1, Ack: 202, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>       6 2007-09-14 09:49:42.564056 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=1 Ack=202 Win=7168 Len=200
> TSV=1021518927 TSER=723301379[Packet size limited during capture]
>
> Frame 6 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1, Ack: 202, Len: 200
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>       7 2007-09-14 09:49:42.589198 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=202 Ack=201 Win=57144 Len=0
> TSV=723301382 TSER=1021518927
>
> Frame 7 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 202, Ack: 201, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>       8 2007-09-14 09:49:43.560451 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=202 Ack=201 Win=57144 Len=204
> TSV=723301479 TSER=1021518927[Packet size limited during capture]
>
> Frame 8 (270 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 202, Ack: 201, Len: 204
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>       9 2007-09-14 09:49:43.561287 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=201 Ack=406 Win=8192 Len=200
> TSV=1021519925 TSER=723301479[Packet size limited during capture]
>
> Frame 9 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 201, Ack: 406, Len: 200
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      10 2007-09-14 09:49:43.589234 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=406 Ack=401 Win=56944 Len=0
> TSV=723301482 TSER=1021519925
>
> Frame 10 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 406, Ack: 401, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      11 2007-09-14 09:49:44.561410 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=406 Ack=401 Win=56944 Len=201
> TSV=723301579 TSER=1021519925[Packet size limited during capture]
>
> Frame 11 (267 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 406, Ack: 401, Len: 201
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      12 2007-09-14 09:49:44.562388 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=401 Ack=607 Win=9216 Len=200
> TSV=1021520926 TSER=723301579[Packet size limited during capture]
>
> Frame 12 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 401, Ack: 607, Len: 200
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      13 2007-09-14 09:49:44.589258 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=607 Ack=601 Win=56744 Len=0
> TSV=723301582 TSER=1021520926
>
> Frame 13 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 607, Ack: 601, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      14 2007-09-14 09:49:45.396035 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=607 Ack=601 Win=56744 Len=1213
> TSV=723301662 TSER=1021520926[Packet size limited during capture]
>
> Frame 14 (1279 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 607, Ack: 601, Len: 1213
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      15 2007-09-14 09:49:45.435807 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=0
> TSV=1021521800 TSER=723301662
>
> Frame 15 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 601, Ack: 1820, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      16 2007-09-14 09:49:52.102997 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=1368
> TSV=1021528468 TSER=723301662[Packet size limited during capture]
>
> Frame 16 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 601, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      17 2007-09-14 09:49:52.103024 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=1969 Ack=1820 Win=11776 Len=1368
> TSV=1021528468 TSER=723301662[Packet size limited during capture]
>
> Frame 17 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1969, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      18 2007-09-14 09:49:52.103486 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=3337 Win=54008 Len=0
> TSV=723302333 TSER=1021528468
>
> Frame 18 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 3337, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      19 2007-09-14 09:49:52.103497 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=3337 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
>
> Frame 19 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 3337, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      20 2007-09-14 09:49:52.103501 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=4705 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
>
> Frame 20 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 4705, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      21 2007-09-14 09:49:52.103505 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=6073 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
>
> Frame 21 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 6073, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      22 2007-09-14 09:49:52.104423 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=6073 Win=51272 Len=0
> TSV=723302333 TSER=1021528469
>
> Frame 22 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 6073, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      23 2007-09-14 09:49:52.104430 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=7441 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
>
> Frame 23 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 7441, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      24 2007-09-14 09:49:52.104434 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=8809 Ack=1820 Win=11776 Len=792
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
>
> Frame 24 (858 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 8809, Ack: 1820, Len: 792
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      25 2007-09-14 09:49:52.105409 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=8809 Win=48536 Len=0
> TSV=723302333 TSER=1021528469
>
> Frame 25 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 8809, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      26 2007-09-14 09:49:52.116085 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=9601 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333
>
> Frame 26 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 9601, Ack: 1820, Len: 1368
> Data (30 bytes)
>
> 0000  09 20 20 3c 2f 75 6c 3e 0a 09 09 20 3c 2f 64 69   .  </ul>... </di
> 0010  76 3e 0a 09 0a 09 20 20 20 3c 64 69 76 20         v>....   <div 
>
> No.     Time                       Source                Destination
> Protocol Info
>      27 2007-09-14 09:49:52.116104 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=10969 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333[Packet size limited during capture]
>
> Frame 27 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 10969, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      28 2007-09-14 09:49:52.116116 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=12337 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333[Packet size limited during capture]
>
> Frame 28 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      29 2007-09-14 09:49:52.116472 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=10969 Win=46376 Len=0
> TSV=723302334 TSER=1021528469
>
> Frame 29 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 10969, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      30 2007-09-14 09:49:52.116485 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=13705 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
>
> Frame 30 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 13705, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      31 2007-09-14 09:49:52.116489 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=15073 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
>
> Frame 31 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 15073, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      32 2007-09-14 09:49:52.116493 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=16441 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
>
> Frame 32 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 16441, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      33 2007-09-14 09:49:52.116675 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [FIN, ACK] Seq=1820 Ack=12337 Win=45008 Len=0
> TSV=723302334 TSER=1021528481
>
> Frame 33 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 12337, Len: 0
>
> No.     Time                       Source                Destination
> Protocol Info
>      34 2007-09-14 09:49:52.116683 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=17809 Ack=1821 Win=11776 Len=792
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
>
> Frame 34 (858 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 17809, Ack: 1821, Len: 792
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      35 2007-09-14 09:49:52.133216 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=18601 Ack=1821 Win=11776 Len=1368
> TSV=1021528498 TSER=723302334[Packet size limited during capture]
>
> Frame 35 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 18601, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      36 2007-09-14 09:49:52.324437 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021528689 TSER=723302334[Packet size limited
> during capture]
>
> Frame 36 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      37 2007-09-14 09:49:52.739340 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021529104 TSER=723302334[Packet size limited
> during capture]
>
> Frame 37 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      38 2007-09-14 09:49:53.567177 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021529932 TSER=723302334[Packet size limited
> during capture]
>
> Frame 38 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      39 2007-09-14 09:49:55.222845 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021531588 TSER=723302334[Packet size limited
> during capture]
>
> Frame 39 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      40 2007-09-14 09:49:58.534182 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021534900 TSER=723302334[Packet size limited
> during capture]
>
> Frame 40 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      41 2007-09-14 09:50:05.156850 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021541524 TSER=723302334[Packet size limited
> during capture]
>
> Frame 41 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      42 2007-09-14 09:50:18.402201 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021554772 TSER=723302334[Packet size limited
> during capture]
>
> Frame 42 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      43 2007-09-14 09:50:44.893934 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021581268 TSER=723302334[Packet size limited
> during capture]
>
> Frame 43 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      44 2007-09-14 09:51:37.877469 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021634260 TSER=723302334[Packet size limited
> during capture]
>
> Frame 44 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      45 2007-09-14 09:53:23.844523 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021740244 TSER=723302334[Packet size limited
> during capture]
>
> Frame 45 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      46 2007-09-14 09:55:23.824754 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021860244 TSER=723302334[Packet size limited
> during capture]
>
> Frame 46 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      47 2007-09-14 09:57:23.804975 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021980244 TSER=723302334[Packet size limited
> during capture]
>
> Frame 47 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      48 2007-09-14 09:59:23.785185 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1022100244 TSER=723302334[Packet size limited
> during capture]
>
> Frame 48 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      49 2007-09-14 10:01:23.766361 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1022220244 TSER=723302334[Packet size limited
> during capture]
>
> Frame 49 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
>
> No.     Time                       Source                Destination
> Protocol Info
>      50 2007-09-14 10:01:23.766557 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [RST, ACK] Seq=1821 Ack=12337 Win=23 Len=0
>
> Frame 50 (60 bytes on wire, 60 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1821, Ack: 12337, Len: 0
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat connections not closing.

Posted by "Roark, Mike" <MR...@orbitz.com>.
Thank Rainer. That's a good point about the sequence numbers.

	-Mike

-----Original Message-----
From: Rainer Jung [mailto:rainer.jung@kippdata.de] 
Sent: Friday, October 05, 2007 2:44 AM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.

Some comments, but not a real solution:

The FIN from the client comes in, when the server had already sent out a

couple of packets without getting an ACK. The ACK in the FIN does not 
ACK the latest server packet, instead it is related to a packet some 
steps earlier (you can check the sequence numbers). The TCP 
retransmissions in you dump are not for the latest server packet, 
instead they are for the first packet after the sequence number 
acknowledged by the client in the FIN packet. This server packet was 
already out in the TCP stack, before the FIN came in.

So I assume the retransmits are done by the TCP stack itself (and those 
usually take minutes).

I would have expected the remote side to reply with a RST much sooner. 
Usually, if a FIN from the client doesn't get handled by the server and 
the client application is not willing to receive further data, it will 
RST pretty soon after the FIN. Could be, that you LB or some proxy or 
reverse proxy in between the server and the client makes the situation 
this bad.

No help, just an ugly workaround, in case Filip's hint doesn' work:

If Apache doesn't have the problem, you could try to put Apache 
httpd/mod_jk (or mod_proxy_ajp) in front of Tomcat. If we assume, that 
httpd will realize the situation faster, even when combined with the 
forwarding module, it will immediately shut the connection to Tomcat. 
Between Apache and Tomcat we should not see such a FIN/RST/Retransmit 
situation.

Regards,

Rainer

Roark, Mike wrote:
> Hello Tomcat users,
> 
> We are having difficulty with connections to Tomcat remaining open
> after the client hits "stop" in their browser.
> 
> This only seems to happen when we have a particular combination of
> load balancer hardware in front of the tomcats. We are also running
> apache and have not seen the same behavior there, even though the
> load balancer hardware and config is the same.
> 
> We are using Tomcat 5.5.20 on linux 2.6.9-34.0.1.ELsmp. It is
> running standalone. We are using APR in some environments and not
> in others, but see the problem in either configuration.
> 
> We have captured tcpdumps and see the pattern at the bottom of this
> email. It appears that the web application tries to retransmit until
> it gets a RST from the client after about 12 minutes. When we finally
> get the RST, we get a lot of exceptions (some of them are due to the
> fact that our session timeout is shorter than the length of these
> requests. I can add them later if they would be useful).
> 
> When we do threaddumps of the java process, many threads appear to
> be stuck in java.net.SocketOutputStream.socketWrite0
> 
> Thread [0x00000fd] exceeded timeout of [180000] millis. Current
> execution stack
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>         at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>         at
>
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOut
> putBuffer.java:746)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
>
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
> oWrite(InternalOutputBuffer.java:769)
>         at
>
org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutp
> utFilter.java:125)
>         at
>
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
> er.java:579)
>         at org.apache.coyote.Response.doWrite(Response.java:559)
>         at
>
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
> ava:361)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
>
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
> ava:235)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
>         at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
>         at
java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
>         at
> org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:189)
>         at
> org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:80)
>         at
>
org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
> ava:535)
>         at
> org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
>         at
> org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:294)
>         at
>
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)
>         at
>
org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142)
>         at
> org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)
> 	...
> 
> 
> I have done some research, but I'm not finding a cut and dried answer
> to this issue. It seems that the RST behavior of browsers has been
> noted before:
> http://pages.cpsc.ucalgary.ca/~carey/papers/2005/TCP-Resets.pdf
> It seems like the main difference between having the load balancers
> or not is the timing of when we get the RST.
> 
> Some questions:
> Is there anything that can be done on the tomcat side to protect
itself?
> Why does it not send a FIN back when it gets a FIN from the client? 
> Why would it be different for Apache?
> 
> 			Thanks,
> 				-Mike Roark
> 
> 
> Notes on this output. Our application runs on port 8585. The client
> sends
> a FIN at packet#33. The web app begins retransmitting at packet#36.
> 
> 
> No.     Time                       Source                Destination
> Protocol Info
>       1 2007-09-14 09:49:42.560292 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [SYN] Seq=0 Len=0 MSS=1380 WS=0 TSV=723301379
> TSER=0
> 
> Frame 1 (78 bytes on wire, 78 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 0, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       2 2007-09-14 09:49:42.560308 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [SYN, ACK] Seq=0 Ack=1 Win=2965504 Len=0
MSS=1460
> TSV=1021518924 TSER=723301379 WS=9
> 
> Frame 2 (74 bytes on wire, 74 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 0, Ack: 1, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       3 2007-09-14 09:49:42.560570 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1 Ack=1 Win=57344 Len=0 TSV=723301379
> TSER=1021518924
> 
> Frame 3 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1, Ack: 1, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       4 2007-09-14 09:49:42.560742 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=1 Ack=1 Win=57344 Len=201
> TSV=723301379 TSER=1021518924[Packet size limited during capture]
> 
> Frame 4 (267 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1, Ack: 1, Len: 201
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>       5 2007-09-14 09:49:42.560752 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=1 Ack=202 Win=7168 Len=0
TSV=1021518924
> TSER=723301379
> 
> Frame 5 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1, Ack: 202, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       6 2007-09-14 09:49:42.564056 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=1 Ack=202 Win=7168 Len=200
> TSV=1021518927 TSER=723301379[Packet size limited during capture]
> 
> Frame 6 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1, Ack: 202, Len: 200
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>       7 2007-09-14 09:49:42.589198 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=202 Ack=201 Win=57144 Len=0
> TSV=723301382 TSER=1021518927
> 
> Frame 7 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 202, Ack: 201, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       8 2007-09-14 09:49:43.560451 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=202 Ack=201 Win=57144 Len=204
> TSV=723301479 TSER=1021518927[Packet size limited during capture]
> 
> Frame 8 (270 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 202, Ack: 201, Len: 204
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>       9 2007-09-14 09:49:43.561287 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=201 Ack=406 Win=8192 Len=200
> TSV=1021519925 TSER=723301479[Packet size limited during capture]
> 
> Frame 9 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 201, Ack: 406, Len: 200
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      10 2007-09-14 09:49:43.589234 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=406 Ack=401 Win=56944 Len=0
> TSV=723301482 TSER=1021519925
> 
> Frame 10 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 406, Ack: 401, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      11 2007-09-14 09:49:44.561410 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=406 Ack=401 Win=56944 Len=201
> TSV=723301579 TSER=1021519925[Packet size limited during capture]
> 
> Frame 11 (267 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 406, Ack: 401, Len: 201
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      12 2007-09-14 09:49:44.562388 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=401 Ack=607 Win=9216 Len=200
> TSV=1021520926 TSER=723301579[Packet size limited during capture]
> 
> Frame 12 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 401, Ack: 607, Len: 200
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      13 2007-09-14 09:49:44.589258 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=607 Ack=601 Win=56744 Len=0
> TSV=723301582 TSER=1021520926
> 
> Frame 13 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 607, Ack: 601, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      14 2007-09-14 09:49:45.396035 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=607 Ack=601 Win=56744 Len=1213
> TSV=723301662 TSER=1021520926[Packet size limited during capture]
> 
> Frame 14 (1279 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 607, Ack: 601, Len: 1213
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      15 2007-09-14 09:49:45.435807 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=0
> TSV=1021521800 TSER=723301662
> 
> Frame 15 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 601, Ack: 1820, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      16 2007-09-14 09:49:52.102997 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=1368
> TSV=1021528468 TSER=723301662[Packet size limited during capture]
> 
> Frame 16 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 601, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      17 2007-09-14 09:49:52.103024 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=1969 Ack=1820 Win=11776 Len=1368
> TSV=1021528468 TSER=723301662[Packet size limited during capture]
> 
> Frame 17 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1969, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      18 2007-09-14 09:49:52.103486 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=3337 Win=54008 Len=0
> TSV=723302333 TSER=1021528468
> 
> Frame 18 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 3337, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      19 2007-09-14 09:49:52.103497 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=3337 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 19 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 3337, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      20 2007-09-14 09:49:52.103501 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=4705 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 20 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 4705, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      21 2007-09-14 09:49:52.103505 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=6073 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 21 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 6073, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      22 2007-09-14 09:49:52.104423 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=6073 Win=51272 Len=0
> TSV=723302333 TSER=1021528469
> 
> Frame 22 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 6073, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      23 2007-09-14 09:49:52.104430 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=7441 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 23 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 7441, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      24 2007-09-14 09:49:52.104434 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=8809 Ack=1820 Win=11776 Len=792
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 24 (858 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 8809, Ack: 1820, Len: 792
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      25 2007-09-14 09:49:52.105409 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=8809 Win=48536 Len=0
> TSV=723302333 TSER=1021528469
> 
> Frame 25 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 8809, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      26 2007-09-14 09:49:52.116085 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=9601 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333
> 
> Frame 26 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 9601, Ack: 1820, Len: 1368
> Data (30 bytes)
> 
> 0000  09 20 20 3c 2f 75 6c 3e 0a 09 09 20 3c 2f 64 69   .  </ul>...
</di
> 0010  76 3e 0a 09 0a 09 20 20 20 3c 64 69 76 20         v>....   <div 
> 
> No.     Time                       Source                Destination
> Protocol Info
>      27 2007-09-14 09:49:52.116104 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=10969 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333[Packet size limited during capture]
> 
> Frame 27 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 10969, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      28 2007-09-14 09:49:52.116116 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=12337 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333[Packet size limited during capture]
> 
> Frame 28 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      29 2007-09-14 09:49:52.116472 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=10969 Win=46376 Len=0
> TSV=723302334 TSER=1021528469
> 
> Frame 29 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 10969, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      30 2007-09-14 09:49:52.116485 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=13705 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 30 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 13705, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      31 2007-09-14 09:49:52.116489 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=15073 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 31 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 15073, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      32 2007-09-14 09:49:52.116493 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=16441 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 32 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 16441, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      33 2007-09-14 09:49:52.116675 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [FIN, ACK] Seq=1820 Ack=12337 Win=45008 Len=0
> TSV=723302334 TSER=1021528481
> 
> Frame 33 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 12337, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      34 2007-09-14 09:49:52.116683 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=17809 Ack=1821 Win=11776 Len=792
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 34 (858 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 17809, Ack: 1821, Len: 792
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      35 2007-09-14 09:49:52.133216 10.229.135.75
10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=18601 Ack=1821 Win=11776 Len=1368
> TSV=1021528498 TSER=723302334[Packet size limited during capture]
> 
> Frame 35 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 18601, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      36 2007-09-14 09:49:52.324437 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021528689 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 36 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      37 2007-09-14 09:49:52.739340 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021529104 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 37 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      38 2007-09-14 09:49:53.567177 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021529932 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 38 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      39 2007-09-14 09:49:55.222845 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021531588 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 39 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      40 2007-09-14 09:49:58.534182 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021534900 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 40 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      41 2007-09-14 09:50:05.156850 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021541524 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 41 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      42 2007-09-14 09:50:18.402201 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021554772 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 42 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      43 2007-09-14 09:50:44.893934 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021581268 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 43 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      44 2007-09-14 09:51:37.877469 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021634260 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 44 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      45 2007-09-14 09:53:23.844523 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021740244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 45 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      46 2007-09-14 09:55:23.824754 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021860244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 46 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      47 2007-09-14 09:57:23.804975 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021980244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 47 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      48 2007-09-14 09:59:23.785185 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1022100244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 48 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      49 2007-09-14 10:01:23.766361 10.229.135.75
10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1022220244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 49 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      50 2007-09-14 10:01:23.766557 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [RST, ACK] Seq=1821 Ack=12337 Win=23 Len=0
> 
> Frame 50 (60 bytes on wire, 60 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1821, Ack: 12337, Len: 0

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Rainer Jung <ra...@kippdata.de>.
Some comments, but not a real solution:

The FIN from the client comes in, when the server had already sent out a 
couple of packets without getting an ACK. The ACK in the FIN does not 
ACK the latest server packet, instead it is related to a packet some 
steps earlier (you can check the sequence numbers). The TCP 
retransmissions in you dump are not for the latest server packet, 
instead they are for the first packet after the sequence number 
acknowledged by the client in the FIN packet. This server packet was 
already out in the TCP stack, before the FIN came in.

So I assume the retransmits are done by the TCP stack itself (and those 
usually take minutes).

I would have expected the remote side to reply with a RST much sooner. 
Usually, if a FIN from the client doesn't get handled by the server and 
the client application is not willing to receive further data, it will 
RST pretty soon after the FIN. Could be, that you LB or some proxy or 
reverse proxy in between the server and the client makes the situation 
this bad.

No help, just an ugly workaround, in case Filip's hint doesn' work:

If Apache doesn't have the problem, you could try to put Apache 
httpd/mod_jk (or mod_proxy_ajp) in front of Tomcat. If we assume, that 
httpd will realize the situation faster, even when combined with the 
forwarding module, it will immediately shut the connection to Tomcat. 
Between Apache and Tomcat we should not see such a FIN/RST/Retransmit 
situation.

Regards,

Rainer

Roark, Mike wrote:
> Hello Tomcat users,
> 
> We are having difficulty with connections to Tomcat remaining open
> after the client hits "stop" in their browser.
> 
> This only seems to happen when we have a particular combination of
> load balancer hardware in front of the tomcats. We are also running
> apache and have not seen the same behavior there, even though the
> load balancer hardware and config is the same.
> 
> We are using Tomcat 5.5.20 on linux 2.6.9-34.0.1.ELsmp. It is
> running standalone. We are using APR in some environments and not
> in others, but see the problem in either configuration.
> 
> We have captured tcpdumps and see the pattern at the bottom of this
> email. It appears that the web application tries to retransmit until
> it gets a RST from the client after about 12 minutes. When we finally
> get the RST, we get a lot of exceptions (some of them are due to the
> fact that our session timeout is shorter than the length of these
> requests. I can add them later if they would be useful).
> 
> When we do threaddumps of the java process, many threads appear to
> be stuck in java.net.SocketOutputStream.socketWrite0
> 
> Thread [0x00000fd] exceeded timeout of [180000] millis. Current
> execution stack
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>         at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>         at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOut
> putBuffer.java:746)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
> oWrite(InternalOutputBuffer.java:769)
>         at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutp
> utFilter.java:125)
>         at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
> er.java:579)
>         at org.apache.coyote.Response.doWrite(Response.java:559)
>         at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
> ava:361)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
> org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
> ava:235)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
>         at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
>         at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
>         at
> org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:189)
>         at
> org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:80)
>         at
> org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
> ava:535)
>         at
> org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
>         at
> org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:294)
>         at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)
>         at
> org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142)
>         at
> org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)
> 	...
> 
> 
> I have done some research, but I'm not finding a cut and dried answer
> to this issue. It seems that the RST behavior of browsers has been
> noted before:
> http://pages.cpsc.ucalgary.ca/~carey/papers/2005/TCP-Resets.pdf
> It seems like the main difference between having the load balancers
> or not is the timing of when we get the RST.
> 
> Some questions:
> Is there anything that can be done on the tomcat side to protect itself?
> Why does it not send a FIN back when it gets a FIN from the client? 
> Why would it be different for Apache?
> 
> 			Thanks,
> 				-Mike Roark
> 
> 
> Notes on this output. Our application runs on port 8585. The client
> sends
> a FIN at packet#33. The web app begins retransmitting at packet#36.
> 
> 
> No.     Time                       Source                Destination
> Protocol Info
>       1 2007-09-14 09:49:42.560292 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [SYN] Seq=0 Len=0 MSS=1380 WS=0 TSV=723301379
> TSER=0
> 
> Frame 1 (78 bytes on wire, 78 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 0, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       2 2007-09-14 09:49:42.560308 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [SYN, ACK] Seq=0 Ack=1 Win=2965504 Len=0 MSS=1460
> TSV=1021518924 TSER=723301379 WS=9
> 
> Frame 2 (74 bytes on wire, 74 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 0, Ack: 1, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       3 2007-09-14 09:49:42.560570 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1 Ack=1 Win=57344 Len=0 TSV=723301379
> TSER=1021518924
> 
> Frame 3 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1, Ack: 1, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       4 2007-09-14 09:49:42.560742 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=1 Ack=1 Win=57344 Len=201
> TSV=723301379 TSER=1021518924[Packet size limited during capture]
> 
> Frame 4 (267 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1, Ack: 1, Len: 201
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>       5 2007-09-14 09:49:42.560752 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=1 Ack=202 Win=7168 Len=0 TSV=1021518924
> TSER=723301379
> 
> Frame 5 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1, Ack: 202, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       6 2007-09-14 09:49:42.564056 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=1 Ack=202 Win=7168 Len=200
> TSV=1021518927 TSER=723301379[Packet size limited during capture]
> 
> Frame 6 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1, Ack: 202, Len: 200
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>       7 2007-09-14 09:49:42.589198 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=202 Ack=201 Win=57144 Len=0
> TSV=723301382 TSER=1021518927
> 
> Frame 7 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 202, Ack: 201, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>       8 2007-09-14 09:49:43.560451 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=202 Ack=201 Win=57144 Len=204
> TSV=723301479 TSER=1021518927[Packet size limited during capture]
> 
> Frame 8 (270 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 202, Ack: 201, Len: 204
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>       9 2007-09-14 09:49:43.561287 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=201 Ack=406 Win=8192 Len=200
> TSV=1021519925 TSER=723301479[Packet size limited during capture]
> 
> Frame 9 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 201, Ack: 406, Len: 200
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      10 2007-09-14 09:49:43.589234 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=406 Ack=401 Win=56944 Len=0
> TSV=723301482 TSER=1021519925
> 
> Frame 10 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 406, Ack: 401, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      11 2007-09-14 09:49:44.561410 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=406 Ack=401 Win=56944 Len=201
> TSV=723301579 TSER=1021519925[Packet size limited during capture]
> 
> Frame 11 (267 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 406, Ack: 401, Len: 201
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      12 2007-09-14 09:49:44.562388 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=401 Ack=607 Win=9216 Len=200
> TSV=1021520926 TSER=723301579[Packet size limited during capture]
> 
> Frame 12 (266 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 401, Ack: 607, Len: 200
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      13 2007-09-14 09:49:44.589258 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=607 Ack=601 Win=56744 Len=0
> TSV=723301582 TSER=1021520926
> 
> Frame 13 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 607, Ack: 601, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      14 2007-09-14 09:49:45.396035 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [PSH, ACK] Seq=607 Ack=601 Win=56744 Len=1213
> TSV=723301662 TSER=1021520926[Packet size limited during capture]
> 
> Frame 14 (1279 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 607, Ack: 601, Len: 1213
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      15 2007-09-14 09:49:45.435807 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=0
> TSV=1021521800 TSER=723301662
> 
> Frame 15 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 601, Ack: 1820, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      16 2007-09-14 09:49:52.102997 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=601 Ack=1820 Win=11776 Len=1368
> TSV=1021528468 TSER=723301662[Packet size limited during capture]
> 
> Frame 16 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 601, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      17 2007-09-14 09:49:52.103024 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=1969 Ack=1820 Win=11776 Len=1368
> TSV=1021528468 TSER=723301662[Packet size limited during capture]
> 
> Frame 17 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 1969, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      18 2007-09-14 09:49:52.103486 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=3337 Win=54008 Len=0
> TSV=723302333 TSER=1021528468
> 
> Frame 18 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 3337, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      19 2007-09-14 09:49:52.103497 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=3337 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 19 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 3337, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      20 2007-09-14 09:49:52.103501 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=4705 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 20 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 4705, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      21 2007-09-14 09:49:52.103505 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=6073 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 21 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 6073, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      22 2007-09-14 09:49:52.104423 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=6073 Win=51272 Len=0
> TSV=723302333 TSER=1021528469
> 
> Frame 22 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 6073, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      23 2007-09-14 09:49:52.104430 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=7441 Ack=1820 Win=11776 Len=1368
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 23 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 7441, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      24 2007-09-14 09:49:52.104434 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=8809 Ack=1820 Win=11776 Len=792
> TSV=1021528469 TSER=723302333[Packet size limited during capture]
> 
> Frame 24 (858 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 8809, Ack: 1820, Len: 792
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      25 2007-09-14 09:49:52.105409 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=8809 Win=48536 Len=0
> TSV=723302333 TSER=1021528469
> 
> Frame 25 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 8809, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      26 2007-09-14 09:49:52.116085 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=9601 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333
> 
> Frame 26 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 9601, Ack: 1820, Len: 1368
> Data (30 bytes)
> 
> 0000  09 20 20 3c 2f 75 6c 3e 0a 09 09 20 3c 2f 64 69   .  </ul>... </di
> 0010  76 3e 0a 09 0a 09 20 20 20 3c 64 69 76 20         v>....   <div 
> 
> No.     Time                       Source                Destination
> Protocol Info
>      27 2007-09-14 09:49:52.116104 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=10969 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333[Packet size limited during capture]
> 
> Frame 27 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 10969, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      28 2007-09-14 09:49:52.116116 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=12337 Ack=1820 Win=11776 Len=1368
> TSV=1021528481 TSER=723302333[Packet size limited during capture]
> 
> Frame 28 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      29 2007-09-14 09:49:52.116472 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [ACK] Seq=1820 Ack=10969 Win=46376 Len=0
> TSV=723302334 TSER=1021528469
> 
> Frame 29 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 10969, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      30 2007-09-14 09:49:52.116485 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=13705 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 30 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 13705, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      31 2007-09-14 09:49:52.116489 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=15073 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 31 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 15073, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      32 2007-09-14 09:49:52.116493 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=16441 Ack=1820 Win=11776 Len=1368
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 32 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 16441, Ack: 1820, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      33 2007-09-14 09:49:52.116675 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [FIN, ACK] Seq=1820 Ack=12337 Win=45008 Len=0
> TSV=723302334 TSER=1021528481
> 
> Frame 33 (66 bytes on wire, 66 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1820, Ack: 12337, Len: 0
> 
> No.     Time                       Source                Destination
> Protocol Info
>      34 2007-09-14 09:49:52.116683 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [PSH, ACK] Seq=17809 Ack=1821 Win=11776 Len=792
> TSV=1021528482 TSER=723302334[Packet size limited during capture]
> 
> Frame 34 (858 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 17809, Ack: 1821, Len: 792
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      35 2007-09-14 09:49:52.133216 10.229.135.75         10.229.155.161
> TCP      8585 > 25872 [ACK] Seq=18601 Ack=1821 Win=11776 Len=1368
> TSV=1021528498 TSER=723302334[Packet size limited during capture]
> 
> Frame 35 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 18601, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      36 2007-09-14 09:49:52.324437 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021528689 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 36 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      37 2007-09-14 09:49:52.739340 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021529104 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 37 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      38 2007-09-14 09:49:53.567177 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021529932 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 38 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      39 2007-09-14 09:49:55.222845 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021531588 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 39 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      40 2007-09-14 09:49:58.534182 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021534900 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 40 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      41 2007-09-14 09:50:05.156850 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021541524 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 41 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      42 2007-09-14 09:50:18.402201 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021554772 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 42 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      43 2007-09-14 09:50:44.893934 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021581268 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 43 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      44 2007-09-14 09:51:37.877469 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021634260 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 44 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      45 2007-09-14 09:53:23.844523 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021740244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 45 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      46 2007-09-14 09:55:23.824754 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021860244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 46 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      47 2007-09-14 09:57:23.804975 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1021980244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 47 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      48 2007-09-14 09:59:23.785185 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1022100244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 48 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      49 2007-09-14 10:01:23.766361 10.229.135.75         10.229.155.161
> TCP      [TCP Retransmission] 8585 > 25872 [ACK] Seq=12337 Ack=1821
> Win=11776 Len=1368 TSV=1022220244 TSER=723302334[Packet size limited
> during capture]
> 
> Frame 49 (1434 bytes on wire, 96 bytes captured)
> Ethernet II, Src: Rioworks_5d:bd:76 (00:50:45:5d:bd:76), Dst:
> Cisco_01:01:35 (00:00:0c:01:01:35)
> Internet Protocol, Src: 10.229.135.75 (10.229.135.75), Dst:
> 10.229.155.161 (10.229.155.161)
> Transmission Control Protocol, Src Port: 8585 (8585), Dst Port: 25872
> (25872), Seq: 12337, Ack: 1821, Len: 1368
> [Packet size limited during capture: JXTA truncated]
> 
> No.     Time                       Source                Destination
> Protocol Info
>      50 2007-09-14 10:01:23.766557 10.229.155.161        10.229.135.75
> TCP      25872 > 8585 [RST, ACK] Seq=1821 Ack=12337 Win=23 Len=0
> 
> Frame 50 (60 bytes on wire, 60 bytes captured)
> Ethernet II, Src: Cisco_d7:a7:00 (00:15:2c:d7:a7:00), Dst:
> Rioworks_5d:bd:76 (00:50:45:5d:bd:76)
> Internet Protocol, Src: 10.229.155.161 (10.229.155.161), Dst:
> 10.229.135.75 (10.229.135.75)
> Transmission Control Protocol, Src Port: 25872 (25872), Dst Port: 8585
> (8585), Seq: 1821, Ack: 12337, Len: 0

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
connectionTimeout - gets set to your sockets SO_TIMEOUT, but
disableUploadTimeout="true" unsets the value in the line above, causing socketWrite0 to not have a timeout, hence if you set disableUploadTimeout="false", then you will make sure that socket read and writes from your servlets/jsps, will be subject to timeout as well, and not hang.

in your apache httpd conf file, make sure your mod_proxy has a timeout configured as well

after that, I would put in a network sniffer (like ethereal) between apache and tomcat, so that you can see where it gets stuck and why.

Filip


rgoers wrote:
> FWIW we have been experiencing this problem intermittently for 2 years and
> still haven't figured out what is causing it. We changed from IBM JDK 1.4.2
> to Sun 1.5, tomcat to JBoss 4.0.3. The only difference is that in our case
> once the thread gets "stuck" it never seems to time out - at least as far as
> we can tell.  In our case we might go for a week before we see this happen. 
> In our case all of the requests go through an Apache Proxy. The requests
> might then go through a load balancer - we've tried it both ways - before
> hittlng the servlet container.
>
> I'd appreciate more details in why connectionTimeout and
> disableUploadTimeout might have some effect - their descriptions don't seem
> to apply to this scenario.
>
> Ralph
>
>
> Hello Tomcat users,
>
> We are having difficulty with connections to Tomcat remaining open
> after the client hits "stop" in their browser.
>
> This only seems to happen when we have a particular combination of
> load balancer hardware in front of the tomcats. We are also running
> apache and have not seen the same behavior there, even though the
> load balancer hardware and config is the same.
>
> We are using Tomcat 5.5.20 on linux 2.6.9-34.0.1.ELsmp. It is
> running standalone. We are using APR in some environments and not
> in others, but see the problem in either configuration.
>
> We have captured tcpdumps and see the pattern at the bottom of this
> email. It appears that the web application tries to retransmit until
> it gets a RST from the client after about 12 minutes. When we finally
> get the RST, we get a lot of exceptions (some of them are due to the
> fact that our session timeout is shorter than the length of these
> requests. I can add them later if they would be useful).
>
> When we do threaddumps of the java process, many threads appear to
> be stuck in java.net.SocketOutputStream.socketWrite0
>
> Thread [0x00000fd] exceeded timeout of [180000] millis. Current
> execution stack
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>         at
> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>         at
> org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOut
> putBuffer.java:746)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
> org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
> oWrite(InternalOutputBuffer.java:769)
>         at
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutp
> utFilter.java:125)
>         at
> org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
> er.java:579)
>         at org.apache.coyote.Response.doWrite(Response.java:559)
>         at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
> ava:361)
>         at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
>         at
> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
>         at
> org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
> ava:235)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
>         at
> sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
>         at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
>         at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
>         at
> org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:189)
>         at
> org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:80)
>         at
> org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
> ava:535)
>         at
> org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
>         at
> org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:294)
>         at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)
>         at
> org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142)
>         at
> org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)
> 	
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat connections not closing.

Posted by rgoers <rg...@apache.org>.
FWIW we have been experiencing this problem intermittently for 2 years and
still haven't figured out what is causing it. We changed from IBM JDK 1.4.2
to Sun 1.5, tomcat to JBoss 4.0.3. The only difference is that in our case
once the thread gets "stuck" it never seems to time out - at least as far as
we can tell.  In our case we might go for a week before we see this happen. 
In our case all of the requests go through an Apache Proxy. The requests
might then go through a load balancer - we've tried it both ways - before
hittlng the servlet container.

I'd appreciate more details in why connectionTimeout and
disableUploadTimeout might have some effect - their descriptions don't seem
to apply to this scenario.

Ralph


Hello Tomcat users,

We are having difficulty with connections to Tomcat remaining open
after the client hits "stop" in their browser.

This only seems to happen when we have a particular combination of
load balancer hardware in front of the tomcats. We are also running
apache and have not seen the same behavior there, even though the
load balancer hardware and config is the same.

We are using Tomcat 5.5.20 on linux 2.6.9-34.0.1.ELsmp. It is
running standalone. We are using APR in some environments and not
in others, but see the problem in either configuration.

We have captured tcpdumps and see the pattern at the bottom of this
email. It appears that the web application tries to retransmit until
it gets a RST from the client after about 12 minutes. When we finally
get the RST, we get a lot of exceptions (some of them are due to the
fact that our session timeout is shorter than the length of these
requests. I can add them later if they would be useful).

When we do threaddumps of the java process, many threads appear to
be stuck in java.net.SocketOutputStream.socketWrite0

Thread [0x00000fd] exceeded timeout of [180000] millis. Current
execution stack
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOut
putBuffer.java:746)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
        at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
        at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
oWrite(InternalOutputBuffer.java:769)
        at
org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutp
utFilter.java:125)
        at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
er.java:579)
        at org.apache.coyote.Response.doWrite(Response.java:559)
        at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.j
ava:361)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
        at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)
        at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.j
ava:235)
        at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
        at
sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
        at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
        at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
        at
org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:189)
        at
org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:80)
        at
org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.j
ava:535)
        at
org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
        at
org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:294)
        at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:456)
        at
org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:142)
        at
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)
	
-- 
View this message in context: http://www.nabble.com/Tomcat-connections-not-closing.-tf4571365.html#a13080277
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org