Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4643

svn: E175012: Connection timed out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.4
    • None
    • libsvn_ra_serf
    • None

    Description

      After checking out some files the client stops working, timing out after a while. Looking at connections you'll find some in state FIN_WAIT_2:
      tcp4 0 0 fbsd11-64.25598 wfe0.ysv.freebsd.http SYN_SENT
      tcp4 0 0 fbsd11-64.40258 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.62882 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.14105 proxy-lb-muc.8080 FIN_WAIT_2

      every time you restart the client, another connection in state FIN_WAIT_2 is created. Doing it really fast you might have some tens of connections in state FIN_WAIT_2. These time out after the server terminates the connection because there is no traffic over this connection.
      I can watch this behaviour with applications using serf. I do not notice this behaviour with applications using neon.
      To checkout https://svn.freebsd.org/base/stable/11 using

      svn co https://svn.freebsd.org/base/stable/11 /usr/src

      Takes restarting the checkout about 50 times until it is complete. In the end there are around 20 ports in state FIN_WAIT_2:
      Proto Recv-Q Send-Q Local Address Foreign Address (state)
      tcp4 0 0 fbsd11-64.41626 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.41625 wfe0.ysv.freebsd.http SYN_SENT
      tcp4 0 0 fbsd11-64.41623 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.41622 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.41621 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.41618 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.41615 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.41612 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28086 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28083 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28080 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28079 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28076 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28075 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.28074 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.13607 proxy-lb-muc.8080 FIN_WAIT_2
      tcp4 0 0 fbsd11-64.ssh nc403-muc.36996 ESTABLISHED
      udp4 0 0 localhost.ntp .
      udp6 0 0 fe80::1%lo0.ntp .
      udp6 0 0 localhost.ntp .
      udp4 0 0 fbsd11-64.ntp .
      udp6 0 0 fe80::20c:29ff:f.ntp .

      Attachments

        Activity

          People

            Unassigned Unassigned
            tps800 Thomas Schweikle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 8,736h
                8,736h
                Remaining:
                Remaining Estimate - 8,736h
                8,736h
                Logged:
                Time Spent - Not Specified
                Not Specified