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

Get User API request timeout when the user and group in the large number

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Access Client
    • Labels:
    • Location:
      External

      Description

      Problem description:
      When the Artifactory group number is larger than 20000, and the user number is larger than 5000 the rest API 'api/security/users' will be slowly sometimes will timeout and UI request 'ui/api/v1/ui/permissiontargets/allUsersGroups' has the same issue.

      What is the impact to the customer:
      Customer use this API to get user very slowly, And also the Ui choose user and group in the edit permission page slowly too.

      What is the expected behavior?
      The response should be fast.

      Steps to reproduce:
      1. Create a clean artifactory
      2. Create more than 5k users and 20k groups
      3. Action the API 'api/security/users'
      (or you can import access.json using attachment)

      Environment details:
      Artifactory version reproduced on
      7.38.10

      DB type & Version:
      Postgresql13

      Is this an HA env?
      HA

      Is this On-Prem or SaaS?
      On-Prem

      Severity - medium
      Priority - medium

      Link to the GCP machine/mill which holds the reproduction?
      GCP

      Possible workaround:
      Increasing the access client time out

      artifactory.access.client.connection.timeout=120000 #default 60000
      artifactory.access.client.socket.timeout=120000 ##default 60000
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mengk Meng Ke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-27288 -
                SYNCHRONIZED
                • Last Sync Date: