Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-7131

ActiveMQ JMS pool has no borrow timeout causing starvation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.15.8
    • Fix Version/s: 5.16.0, 5.15.12
    • Component/s: Pool
    • Labels:
      None

      Description

      A maxPoolSize of 1 can cause starvation during createConnection if the only connection gets evicted concurrently since borrow method of pool has no timeout waiting forever.

      Maybe introduce a new variable connectionTimeout with default 30000ms. 

        Attachments

          Activity

            People

            • Assignee:
              graben Benjamin Graf
              Reporter:
              graben Benjamin Graf
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h