Socket problem - state looks CLOSE_WAIT and queue count goesup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    Socket problem - state looks CLOSE_WAIT and queue count goesup

    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:8 901 150.169.7.110:4 493 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 492 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 495 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 494 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 488 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 491 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 490 CLOSE_WAIT
    tcp 36543 0 10.138.156.41:8 901 150.169.7.110:4 485 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 487 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 486 CLOSE_WAIT
    tcp 0 0 10.138.156.41:3 3107 150.169.7.110:9 801 ESTABLISHED
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    #2
    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:3 3109 150.169.7.110:9 802 ESTABLISHED
    tcp 52926 0 10.138.156.41:8 901 150.169.7.110:4 501 ESTABLISHED


    $ netstat -t

    tcp 0 0 10.138.156.41:3 3109 150.169.7.110:9 802 ESTABLISHED
    tcp 52926 0 10.138.156.41:8 901 150.169.7.110:4 502 ESTABLISHED
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 501 CLOSE_WAIT

    $ netstat -t

    tcp 0 0 10.138.156.41:3 3109 150.169.7.110:9 802 ESTABLISHED
    tcp 52926 0 10.138.156.41:8 901 150.169.7.110:4 502 CLOSE_WAIT
    tcp 52927 0 10.138.156.41:8 901 150.169.7.110:4 501 CLOSE_WAIT

    Comment

    Working...