How can it be that:
netstat
reports high Send-Q (a few megabytes) for the socket on the sender (and the value does not change even after a couple of hours of waiting)netstat
reports zero Recv-Q for the socket on the receivertcpdump
reports that the only activity on the socket is a periodic (biminutely) ACK with no data from the sender and immediate ACK response with no data from the receiverWhy doesn't the sender machine attempt to send queued data to the receiver?
High Send-Q means the data is put on TCP/IP send buffer, but it is not sent or it is sent but not ACKed. So, high value in Send-Q can be related to server network congest, server performance issue or data packet flow control, and so on. Please note: The send and receive queue sizes are shown in bytes.
High Recv-Q means the data is put on TCP/IP receive buffer, but the application does not call recv () to copy it from TCP/IP buffer to the application buffer. Customer can check the application listening the port, and see if it is working as expected. For example, if you saw Recv-Q in the following connection:
The send and recv q can be high while the system is transferring data, streaming data to a server. You can make adjustments to the buffers, but keep in mind that it may add some latency to network communications. Tuning is an art and you are going to have to play with the settings to get them right for what you are doing.
What's the meaning of Recv-Q and Send-Q in "netstat -an"? Generally, "netstat -an“ shows the state of all socket connections. tcp 0 0 *.111 *.* LISTEN tcp 0 0 *.657 *.* LISTEN However, sometimes, we can see some values on Recv-Q and Send-Q. What does that mean?
This is more likely caused by other problem, but below might help if you haven't tried (these numbers are examples, find your own numbers):
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With