lkml.org 
[lkml]   [2002]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLinux client specweb test hung

Hi,

I think someone already have this discussion about this hung, but I did
not see some solutions about. Here is my test case:

1 Zeus web server: kernel 2.4.7-10
7 Specweb clients: kernel 2.2.16

After the client hang, I used netstat to see the connections, and found
some clients still keep the ESTABISHED connections, but there is no
connection on the server side.

I use tcpdump to look at how the server and clients to close the
connections. There are scenarios:
1. The server send FIN first
2. The client send FIN first

If the server send FIN first:
client server
<-----------FIN---------
----------- ACK-------->
----------- FIN-------->
<------------ACK--------

If the client send the FIN first:

client server
--------------FIN-------->
<-------------ACK--------

or

client server
-------------FIN--------->
<------------FIN----------
------------ACK---------->


The following is my guess:
When the iteration finishes everytime, if the FIN happeens to be sent from
the server side, the connection will closed correctly, if the FIN happens
to be sent from the client slide, the client will be hung. Is this
related to LAST-ACK issue?

Thanks!!
Hua

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.040 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site