Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11476

Too many svn connections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • svncompat14-plugin
    • None

      Hello,

      I use Jenkins version 1.436 . I use svn+ssh. I found that Jenkins opens too many svn connections.

      sudo lsof -c /java/ -a -i
      java 26534 root 2073u IPv6 2366723255 TCP myserver:35173->server:ssh (ESTABLISHED)
      java 26534 root 2074u IPv6 2366723380 TCP myserver:35174->server:ssh (ESTABLISHED)
      java 26534 root 2076u IPv6 2366724740 TCP myserver:35177->server:ssh (ESTABLISHED)
      java 26534 root 2087u IPv6 2366728878 TCP myserver:35180->server:ssh (ESTABLISHED)
      java 26534 root 2089u IPv6 2366730081 TCP myserver:35182->server:ssh (ESTABLISHED)
      java 26534 root 2090u IPv6 2366734351 TCP myserver:35186->server:ssh (ESTABLISHED)

      sudo lsof -c /java/ -a -i | wc -l
      1443

      Subversion Plugin version 1.28.

      All these projects are from the same repo but from different folders. The number of projects approximately 400.

      I also use svn hook that create POST request to Jenkins for every commit. It looks like in documentation
      https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin#

      The problem can be reproduce the following way.
      1) Restart jenkins
      2) Add 400 jobs
      3) Commit something (with svn hook)

      The result wget in svn hook cannot be done since wget cannot pass and retries 20 times (by default) and number of connections grows up.

            swiest Simon Wiest
            nikita Nikita Aznauryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: