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

Warnings plugin with custom parsers massively slows down jenkins start up

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • warnings-plugin

      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.

          [JENKINS-16107] Warnings plugin with custom parsers massively slows down jenkins start up

          Johannes Wienke created issue -
          Johannes Wienke made changes -
          Ulli Hafner made changes -
          Link New: This issue is duplicated by JENKINS-16037 [ JENKINS-16037 ]
          Ulli Hafner made changes -
          Link New: This issue duplicates JENKINS-16526 [ JENKINS-16526 ]
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146911 ] New: JNJira + In-Review [ 192136 ]

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

              Created:
              Updated:
              Resolved: