-
Type:
Improvement
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Access Client
-
Labels:
-
Location:External
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