[Tsung] "Data receive from socket in state think, stop"?? What is?

Matteo Canato mcanato at gmail.com
Fri May 30 20:26:16 CEST 2008


Ok,
before the error line i've wrote last night ("Data receive from socket in
state think, stop") i don't see another error line:

=INFO REPORT==== 30-May-2008::20:08:17 ===
           ts_client:(6:<0.178.0>) connection closed while waiting for ack

and this error line appaers when a new client (exactly the 100th) "open" the
socket to the server.

So, today i've done an intesive packet sniffing (with wireshark) session in
order to find why my daemon (on port 8888) close the connection at the 100th
client. And these are the results of the first client which fails:

No.     Time        Source                Destination           Protocol
Info
   1577 20.308311   127.0.0.1             127.0.0.1             TCP
21429 > 8888 [SYN] Seq=0 Len=0 MSS=16396 TSV=1432229 TSER=0 WS=7
   1578 20.308350   127.0.0.1             127.0.0.1             TCP
8888 > 21429 [SYN, ACK] Seq=0 Ack=1 Win=4194304 Len=0 MSS=16396 TSV=1432229
TSER=1432229 WS=7
   1579 20.308378   127.0.0.1             127.0.0.1             TCP
21429 > 8888 [ACK] Seq=1 Ack=1 Win=32768 Len=0 TSV=1432229 TSER=1432229
   1583 20.326344   127.0.0.1             127.0.0.1             TCP
8888 > 21429 [FIN, ACK] Seq=1 Ack=1 Win=32768 Len=0 TSV=1432233 TSER=1432229
   1584 20.326587   127.0.0.1             127.0.0.1             TCP
21429 > 8888 [FIN, ACK] Seq=1 Ack=2 Win=32768 Len=0 TSV=1432234 TSER=1432233
   1585 20.326609   127.0.0.1             127.0.0.1             TCP
8888 > 21429 [ACK] Seq=2 Ack=2 Win=32768 Len=0 TSV=1432234 TSER=1432234

as you can see the server send the FIN packet before receive any type of
data from the client.....

So, can i say that is NOT a tsung (or my plugin tsung) problem? and the
problem is in the server daemon??

Regards,
M.Canato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080530/825f34af/attachment.html


More information about the Tsung-users mailing list