tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Channel <jchann...@gmail.com>
Subject Tomcat AJP Keepalive and tcp settings
Date Thu, 02 Jul 2009 10:44:47 GMT
Hi!
There is tcpdump out between tomcat 10.0.0.51 server and apache+mod_jk on
10.0.0.52

Start TCP session:
13:45:47.289899 IP 10.0.0.52.53082 > 10.0.0.51.8003: S
4292589130:4292589130(0) win 5840 <mss 1460,sackOK,timestamp 2476219269
0,nop,wscale 9>
13:45:47.289907 IP 10.0.0.51.8003 > 10.0.0.52.53082: S
129259122:129259122(0) ack 4292589131 win 5792 <mss 1460,sackOK,timestamp
3849427499 2476219269,nop,wscale 9>
13:45:47.289988 IP 10.0.0.52.53082 > 10.0.0.51.8003: . ack 1 win 12
<nop,nop,timestamp 2476219269 3849427499>
13:45:47.290031 IP 10.0.0.52.53082 > 10.0.0.51.8003: . 1:1449(1448) ack 1
win 12 <nop,nop,timestamp 2476219269 3849427499>
13:45:47.290037 IP 10.0.0.51.8003 > 10.0.0.52.53082: . ack 1449 win 17
<nop,nop,timestamp 3849427499 2476219269>
13:45:47.290041 IP 10.0.0.52.53082 > 10.0.0.51.8003: P 1449:1954(505) ack 1
win 12 <nop,nop,timestamp 2476219269 3849427499>
[...]
Looks ok
End Of session:
13:49:06.791572 IP 10.0.0.52.53082 > 10.0.0.51.8003: . ack 281580 win 187
<nop,nop,timestamp 24764187723849627001>
13:49:06.791593 IP 10.0.0.52.53082 > 10.0.0.51.8003: . ack 282428 win 187
<nop,nop,timestamp 24764187723849627001>

tomcat trying to close connection and send FIN:
13:51:14.322018 IP 10.0.0.51.8003 > 10.0.0.52.53082: F 282428:282428(0) ack
6787 win 46 <nop,nop,timestamp 3849754531 2476418772>
Reply from mod_jk:
13:51:14.361441 IP 10.0.0.52.53082 > 10.0.0.51.8003: . ack 282429 win 187
<nop,nop,timestamp 24765463433849754531>

75 second timeout here
FIN from mod_jk:
13:52:31.511273 IP 10.0.0.52.53082 > 10.0.0.51.8003: F 6787:6787(0) ack
282429 win 187 <nop,nop,timestamp 2476623493 3849754531>
RST from tomcat!:
13:52:31.511289 IP 10.0.0.51.8003 > 10.0.0.52.53082: R
129541551:129541551(0) win 0


Why this going on and why this looking so strange? =)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message