[Removed zfs-discuss]

Matty wrote:

> $ netstat -an | grep ESTAB | grep 8080
> 10.32.51.230.8080    10.10.12.6.34252    65535      0 49248      0 ESTABLISHED
> 10.32.51.230.8080    10.10.12.7.54136           1      0 49680      0
> ESTABLISHED
> 10.32.51.230.8080    10.10.12.8.19335    62975      0 49248      0 ESTABLISHED
> < .... >


Could you use mdb to check things out?  If you use `mdb -k`
and do a "::netstat -P tcp", you should also see the above
connections.  In the first column of the output, you have
the address for the connection's tcp_t.  Use one of the above
tcp_t and do a

<addr>::print tcp_t tcp_detached tcp_linger tcp_lingertime

If tcp_detached is 0, it means that TCP still thinks that the
socket is not closed.  If tcp_linger and tcp_lingertime are
not 0, it means that TCP is lingering and it will be closed
later.  If they are all 0, I guess the socket is not really
closed and we need to go up the stream and see what is going
on.  You can do

<addr>::print tcp_t tcp_rq |::q2stream |::stream

to find out the stream for this connection.  And check the
flag of queues.




-- 

                                                K. Poon.
                                                [EMAIL PROTECTED]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to