I'm not sure if this is related since this ticket is really long time ago.
My environment is:
Jenkins v2.32.1 LTS
Role-based Authorization Strategy v2.3.2
Currently, I have:
6 x 500GB SSD RAID-5
3 Global roles (Job_veiwers, admin, anonymous)
116 Project roles
0 slave roles
2 days ago,
I just added 800+ jobs through Multi-branch configuration.
(adding only the jobs, role configurations remains the same)
Before adding the 800+ jobs,
the WebUI response was ok (acceptable).
Every click (open job, open job configuration) response within 3~5 seconds.
After adding the 800+ jobs,
now the web UI response super slow (takes about 30 seconds to open a new page).
After some investigation,
I found if the user is in ADMIN role,
then the response is slow,
and if the same user is removed from ADMIN role,
then the response is back to normal.
I also created a custom role but using the wildcard * to match all the jobs (to pretend admin permissions).
Then the result is the same that the response is really slow.
I don't know how to debug more.
What's the best way to resolve this?