]
Paul Ferraro moved JBEAP-12278 to WFLY-9119:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9119 (was: JBEAP-12278)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Clustering
(was: Clustering)
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.ER2)
Don't start GlobalConfiguration services on startup when using
non-ha profiles.
-------------------------------------------------------------------------------
Key: WFLY-9119
URL:
https://issues.jboss.org/browse/WFLY-9119
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 11.0.0.Alpha1
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Critical
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...
.. 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...
* 445 org.infinispan
* 310 org.wildfly.clustering
* 336 org.jboss.as.clustering
*Details:*
{code}
<logger category="org.jboss.modules">
<level name="TRACE"/>
</logger>
{code}
{code}
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
{code}