You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Thomas Schweikle (JIRA)" <ji...@apache.org> on 2016/07/20 19:17:20 UTC

[jira] [Created] (SVN-4643) svn: E175012: Connection timed out

Thomas Schweikle created SVN-4643:
-------------------------------------

             Summary: svn: E175012: Connection timed out
                 Key: SVN-4643
                 URL: https://issues.apache.org/jira/browse/SVN-4643
             Project: Subversion
          Issue Type: Bug
          Components: libsvn_ra_serf
    Affects Versions: 1.9.4
         Environment: svn, version 1.9.4 (r1740329)
   compiled Jul 14 2016, 17:02:22 on amd64-portbld-freebsd12.0

FreeBSD fbsd11-64 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r302998: Tue Jul 19 06:18:18 CEST 2016     root@fbsd11-64:/usr/obj/usr/src/sys/FBSD11  amd64
            Reporter: Thomas Schweikle


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   *.*





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)