Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73508

Role Based Authorization Strategy causing timeouts

XMLWordPrintable

      Version 689.v731678c3e0eb_

      Jenkins Version: 2.426.1

       

      We are coming across an issue where when we create a role, it causes Jenkins to timeout, and many times causes it to become unstable and inaccessible. This happens in the UI and API.

      Running a simple `curl localhost:8080/role-strategy/strategy/addRole` will cause the curl command to hang until our load balancer this sits behind produces a timeout (which is of 180 seconds). Running this or even going through the UI also causes Jenkins to become inaccessible until we forcibly restart it. 

       

      Our Jenkins instance is utilized heavily, with over 250 roles and project folders. I would understand if the large amount of roles/projects causes issues to load  in the UI, but why would it behave the same at the API level? 

      Read requests seem to work fine though. It seems only updating/creating roles where this happens. 

            oleg_nenashev Oleg Nenashev
            ehuizar1028 Ernesto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: