Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-5599

Deadlock on db pool + queue write lock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • High
    • None
    • 2.4
    • None
    • None

    Description

      There is a write lock to the build queue and one event thread (:Events:pool-1-thread-8) grabs it to place a build in the queue. But it can't complete because it also needs a database connection. There is no database connection available and it waits to obtain it plus it keeps holding on to the queue write lock.
      Because a lot of builds are scheduled for 8am many more threads need to obtain the write lock. Some of them hold a database connection already but need the write log. They would hold on to the db connections. Because users also browse bamboo even more db connections are needed to serve bamboo with the needed information.

      There's bamboo's deadlock.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ukuhnhardt Ulrich Kuhnhardt [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: