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

Too many Bitbucket git checkouts on Master at the same time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.149
      bitbucket branch source 2.2.14

      When configured to trigger PR builds when an upstream branch changes, if there is hundreds of PRs open, the Jenkins Master fires the initial checkout to get the Jenkinsfile all at the same time on the master.

      This means literally, that several hundred git operations get called at the same time, stressing out the file system on the master to the point that the master stops responding.  Especially when that repository is very large.  It also puts tremendous load on the upstream Bitbucket server, which starts throttling at a certain point.  Even with reference repositories in use.

      It seems that there needs to be a configuration option to control how many of these git operations are allowed to fire on the master at the same time.

      This effectively brings down our Jenkins master daily.

            Unassigned Unassigned
            therealwaldo Will Freeman
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: