Linux client specweb test hung

From: Hua Qin (qinhua@poisson.ecse.rpi.edu)
Date: Sat Sep 14 2002 - 08:08:14 EST


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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:36 EST