Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17916

Access Http Client max connections should be matched to the max connections per route

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.0
    • Component/s: Access Client
    • Labels:
      None

      Description

       

      Modifying the Access max connections (artifactory.access.client.max.connections) might still allow only 50 connections to be used as the max connections per route parameter is hardcoded.

      An example for scenario that Illustrates the problem:

      1. Configure artifactory.access.client.max.connections to 1000 and the server.xml connector to match

      2. Create 1000 concurrent continuing requests that will cause Artifactory to use Access client to perform login operation (even with anonymous)

      3. Response time start climb up

      4. Take a thread dump and see that only 50 connections are in use (RUNNABLE threads on AccessHttpClient.restCall) while all other requests are waiting for a connection from the pool (WAITING on PoolEntryFuture.await)

        Attachments

          Activity

            People

            • Assignee:
              shayb Shay Bagants
              Reporter:
              shayb Shay Bagants
              Assigned QA:
              Konstantin Shenderov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: