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

Warnings plugin with custom parsers massively slows down jenkins start up


    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Environment:
    • Similar Issues:


      Having specified custom parsers in the general jenkins configuration results in a massive slow down of the start up procedure of our jenkins server. Instead of a few seconds the startup takes probably longer than 20 minutes.

      We have attached a visualvm to the JVM running jenkins and found out that the reason for the massive slow down is that the threads loading the jobs on startup are most of the time in the BLOCKED state. A thread dump is attached. All blocked threads basiclaly hang in the compilation of the defined custom parsers using groovy. Strangely, even jobs which use the warnings plugin, but not the custom parsers seem to invoke a compilation of the custom parsers and it also seems the the compiled parsers aren't shared between jobs at all, so each custom parsers is compiled for each job.


          Issue Links



              • Assignee:
                drulli Ulli Hafner
                languitar Johannes Wienke
              • Votes:
                1 Vote for this issue
                7 Start watching this issue


                • Created: