Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9119

Don't start GlobalConfiguration services on startup when using non-ha profiles.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 11.0.0.Alpha1
    • Fix Version/s: 11.0.0.Beta1
    • Component/s: Clustering
    • Labels:
      None

      Description

      When starting EAP 7.1.0 ER2 and using standalone.xml there are 15% of loaded classes clustering related. To be precise 1091 classes out of 7285 classes in my check.

      Goal:
      Reduce number of loaded clustering related classes in standalone.xml
      Price of 15% of loaded classes for 2nd level cache stuff is too high.

      Logs:
      full log: https://drive.google.com/a/redhat.com/file/d/0BzqZahAZj1YNMDhKb1FDZnF4dlE/view?usp=sharing .. 20 MB

      classes loaded during boot (jboss module logging on trace) aggregated by package name: https://drive.google.com/a/redhat.com/file/d/0BzqZahAZj1YNSFdRWGRFVFdaRXM/view?usp=sharing

      • 445 org.infinispan
      • 310 org.wildfly.clustering
      • 336 org.jboss.as.clustering

      Details:

      <logger category="org.jboss.modules">
         <level name="TRACE"/>
      </logger>
      
      cat server.log | grep "Defined class" | wc -l
      7285
      
      for i in {2..6}; do echo "Level $i"; cat server.log | grep "Defined class" | sed "s/.*Defined class \(.*\)/\1/g" \
        | cut -d" " -f 1 | sort | cut -d'.' -f1-$i | uniq -c | sort -n -r | head -n 40; echo ""; done \
        | tee startup-loaded-classes.txt
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pferraro Paul Ferraro
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: