On Thu, 2016-08-25, Xiaofeng Wang wrote:
> Hi, My program runs in trouble with a netstat output like bellow. It
> cannot receive a packet. What does the Recv-Q value in the first
> line mean?
> I see the man page, and do some googling, but no result
> found.
>
> ```
> [root@(none) /data]# netstat -ntap | grep 8000
> tcp 129 0
0.0.0.0:8000 0.0.0.0:* LISTEN 1526/XXXXX-
The IP stack has read 129 bytes ok from the peer; they are all
accounted for and ready for the application ... except the application
hasn't read it from the IP stack yet.
It's often a sign that the application cannot keep up with the load --
or that it has gotten stuck, doing something else when it should
instead act upon the data from the peer.
But now I see it's on a LISTEN socket. I'm not sure what a Recv-Q
there means, but I suspect it means some new clients are trying to
connect, but the server hasn't called accept(2) yet.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/
snipabacken.se> O o .