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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 11.0.0.Beta1
    • 11.0.0.Alpha1
    • Clustering
    • None

      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
      

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: