473,320 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Socket problem - state looks CLOSE_WAIT and queue count goesup

365 100+
I have receiver socket on 8901 and sender socket on 9801, I can see receiver quue going up and state "CLOSE_WAIT" and sender Connection established, but receiver side an error, any idea?.


tcp 52927 0 10.138.156.41:8901 150.169.7.110:4493 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4492 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4495 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4494 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4488 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4491 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4490 CLOSE_WAIT
tcp 36543 0 10.138.156.41:8901 150.169.7.110:4485 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4487 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4486 CLOSE_WAIT
tcp 0 0 10.138.156.41:33107 150.169.7.110:9801 ESTABLISHED
Dec 22 '09 #1
1 4135
tvnaidu
365 100+
it gets establish in the beginning, immediately changes to CLOSE_WAIT and another opens, then that also close_wait state, finally all goes into close_wait state.

$ netstat -t

tcp 0 0 10.138.156.41:33109 150.169.7.110:9802 ESTABLISHED
tcp 52926 0 10.138.156.41:8901 150.169.7.110:4501 ESTABLISHED


$ netstat -t

tcp 0 0 10.138.156.41:33109 150.169.7.110:9802 ESTABLISHED
tcp 52926 0 10.138.156.41:8901 150.169.7.110:4502 ESTABLISHED
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4501 CLOSE_WAIT

$ netstat -t

tcp 0 0 10.138.156.41:33109 150.169.7.110:9802 ESTABLISHED
tcp 52926 0 10.138.156.41:8901 150.169.7.110:4502 CLOSE_WAIT
tcp 52927 0 10.138.156.41:8901 150.169.7.110:4501 CLOSE_WAIT
Dec 22 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Laszlo Csabi | last post by:
Hi Folks, I'm using c# to create a server client application. I have to check if the socket is in"CLOSE_WAIT" state. Anyone knows any solution for this? I tried to used Socket.Connected but...
4
by: DreJoh | last post by:
I've read many articles on the subject and the majority of them give the same solution that's in article 821625 on the MSDN website. I'm using the following code and when a the client disconnects...
2
by: L.J.SONG | last post by:
I use following code to create socket and connect to a server app: /// code ///// Socket connecter = null; IPEndPoint localEp = null; IPEndPoint remoteEp = null; IPHostEntry he =...
0
by: jm | last post by:
I have a program listening on a socket and one sending data to that socket. The program sending the data to the listener was periodically giving me errors that the listener didn't have a socket....
8
by: Claire | last post by:
I'm trying to debug my network application ie I want to check my error handling when the connection is broken. Im using 127.0.0.1 as the connection address. Unfortunately, the client socket goes...
2
by: Silby | last post by:
I've been messing around with sockets for a bit and i got most of it down (i think). The server side is an asynchronous tcp socket listener with sits and waits for data. The client side uses...
2
by: yvan | last post by:
Hi, Here is my client/server scenario: Step1: Client connects to server and sends data sucessfully (using Socket.Send()). Step2: Server gracefully exists (calls Socket.Shutdown() and...
11
by: atlaste | last post by:
Hi, In an attempt to create a full-blown webcrawler I've found myself writing a wrapper around the Socket class in an attempt to make it completely async, supporting timeouts and some scheduling...
1
by: kash123 | last post by:
Hi All, I have written an application, a part of which, in the application, is a socket server programe accepting connection requests from socket clients. My server code typically contains, ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.