Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: SERVER 2.1.2
    • Fix Version/s: None
    • Component/s: Performance, Puppet Server
    • Labels:
      None
    • Environment:
    • Template:

      Description

      I recently started the migration of our production puppet from Puppet 3 / Apache with passenger to Puppet 4 / PuppetServer

      The problem I encounter is about catalog compilation performance, indeed the duration passed from 1~3seconds on old platform to 20~50seconds on the new one.

      I tried to get some DEBUG information by puppetserver with activating DEBUG loglevel, and with activating ruby profiling.
      Unfortunately I can't obtain the precise informations I need, because it seems that the problem resides with compilation (ruby/puppet code).

      [...]
      2015-10-28 10:21:17,416 DEBUG [c.p.p.LoggingPuppetProfiler] [compiler find_node] (87 ms) Found node information
      2015-10-28 10:21:20,731 WARN  [puppet-server] Puppet Unrecognized escape sequence '\.'
      2015-10-28 10:21:20,801 WARN  [puppet-server] Puppet Unrecognized escape sequence '\.'
      2015-10-28 10:21:20,843 WARN  [puppet-server] Puppet Unrecognized escape sequence '\.'
      2015-10-28 10:21:21,877 WARN  [puppet-server] Puppet Unrecognized escape sequence '\;'
      2015-10-28 10:21:22,213 WARN  [puppet-server] Puppet Unrecognized escape sequence '\.'
      2015-10-28 10:21:22,218 WARN  [puppet-server] Puppet Unrecognized escape sequence '\.'
      2015-10-28 10:21:22,503 WARN  [puppet-server] Puppet Unrecognized escape sequence '\*'
      2015-10-28 10:21:22,506 WARN  [puppet-server] Puppet Unrecognized escape sequence '\*'
      2015-10-28 10:21:39,209 DEBUG [c.p.p.LoggingPuppetProfiler] [compiler set_node_params] (2 ms) Compile: Set node parameters
      [...]
      2015-10-28 10:21:40,676 DEBUG [c.p.p.LoggingPuppetProfiler] [compiler finish_catalog] (1 ms) Compile: Finished catalog
      2015-10-28 10:21:40,682 DEBUG [c.p.p.LoggingPuppetProfiler] [compiler compile myenv vincent-centos7.mydomain.local] (23266 ms) Compiled catalog for vincent-centos7.mydomain.local in environment myenv
      

      Most of the 23 seconds (~17s) duration is with compilation, which I suppose is starting just after the puppet parser validate, generating the output "Unrecognized escape..." which I can produce manually.

      My need I to have output on what happens next, the compilation.
      Is there a way have a trace to find why there is such a performance issue ?

      As an attachment there is Profiler output of the full test catalog application

        Attachments

        1. debug_puppetserver
          20 kB
        2. performance.tgz
          1.79 MB
        3. puppet-server-release.jar.part-aa
          10.00 MB
        4. puppet-server-release.jar.part-ab
          10.00 MB
        5. puppet-server-release.jar.part-ac
          10.00 MB
        6. puppet-server-release.jar.part-ad
          10.00 MB
        7. puppet-server-release.jar.part-ae
          4.77 MB
        8. site.zip
          7 kB

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  detzom Vincent
                  Reporter:
                  detzom Vincent
                  QA Contact:
                  Erik Dasher
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support