Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildfly 26.1.3 redeploy and restart behavior investigation #18

Open
slominskir opened this issue Jan 4, 2024 · 2 comments
Open

Wildfly 26.1.3 redeploy and restart behavior investigation #18

slominskir opened this issue Jan 4, 2024 · 2 comments

Comments

@slominskir
Copy link
Member

We need to investigate why since migrating from Wildfly 16 to 26.1.3 we now see lots of warnings in the log on app redeploy and more importantly why restarting Wildlfy now takes up to 2 minutes or so whereas before it was probably 20 seconds or less. The redeploy warnings look like:

2024-01-04 12:22:40,254 WARN  [org.infinispan.cache.impl.CacheImpl] (ServerService Thread Pool -- 118) ISPN000419: Eviction of an entry invoked without an explicit eviction strategy for cache cnm.war
...

And repeat hundreds of times.

As far as restarts goes here is sample startup logging that shows last 2 minutes or so of start up:

2024-01-04 12:23:40,261 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 88) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
2024-01-04 12:23:40,268 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 88) WFLYCLINF0002: Started http-remoting-connector cache from ejb container
2024-01-04 12:23:41,492 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 82) HHH000397: Using ASTQueryTranslatorFactory
2024-01-04 12:23:41,493 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 78) HHH000397: Using ASTQueryTranslatorFactory
2024-01-04 12:23:44,173 INFO  [org.jlab.bam.business.session.DailyScheduledCheck] (ServerService Thread Pool -- 80) Starting Daily Timer
2024-01-04 12:23:45,257 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 81) HHH000397: Using ASTQueryTranslatorFactory
2024-01-04 12:23:45,288 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 89) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
2024-01-04 12:23:45,360 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 89) WFLYCLINF0002: Started cnm.war cache from web container
2024-01-04 12:23:45,377 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 84) HHH000397: Using ASTQueryTranslatorFactory
2024-01-04 12:23:46,164 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 90) WFLYUT0021: Registered web context: '/smoothness-demo' for server 'default-server'
2024-01-04 12:23:46,358 INFO  [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 79) HHH000397: Using ASTQueryTranslatorFactory
2024-01-04 12:23:47,160 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 84) WFLYUT0021: Registered web context: '/cnm' for server 'default-server'
2024-01-04 12:23:48,521 INFO  [org.jlab.srm.business.session.DailyScheduledMaskExpire] (ServerService Thread Pool -- 84) Starting Daily Mask Expiration Timer
2024-01-04 12:23:57,256 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 85) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
2024-01-04 12:23:57,260 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 85) WFLYCLINF0002: Started btm.war cache from web container
2024-01-04 12:23:58,286 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 85) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.jlab.btm.presentation.controller.rest.BtmApplication
2024-01-04 12:23:58,369 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 85) WFLYUT0021: Registered web context: '/btm' for server 'default-server'
2024-01-04 12:24:01,854 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 87) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
2024-01-04 12:24:01,860 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 87) WFLYCLINF0002: Started bam.war cache from web container
2024-01-04 12:24:02,232 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 86) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
2024-01-04 12:24:02,236 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 86) WFLYCLINF0002: Started srm.war cache from web container
2024-01-04 12:24:02,277 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 87) WFLYUT0021: Registered web context: '/bam' for server 'default-server'
2024-01-04 12:24:02,533 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 86) WFLYUT0021: Registered web context: '/srm' for server 'default-server'
2024-01-04 12:26:41,172 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 83) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
2024-01-04 12:26:41,199 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 83) WFLYCLINF0002: Started dtm.war cache from web container
2024-01-04 12:26:53,395 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 83) WFLYUT0021: Registered web context: '/dtm' for server 'default-server'
2024-01-04 12:26:53,553 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "cnm.war" (runtime-name : "cnm.war")
2024-01-04 12:26:53,553 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "srm.war" (runtime-name : "srm.war")
2024-01-04 12:26:53,553 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "dtm.war" (runtime-name : "dtm.war")
2024-01-04 12:26:53,553 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "btm.war" (runtime-name : "btm.war")
2024-01-04 12:26:53,553 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "smoothness-demo.war" (runtime-name : "smoothness-demo.war")
2024-01-04 12:26:53,553 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "bam.war" (runtime-name : "bam.war")
2024-01-04 12:26:53,663 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2024-01-04 12:26:53,676 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 26.1.3.Final (WildFly Core 18.1.2.Final) started in 200041ms - Started 5341 of 5514 services (411 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml
2024-01-04 12:26:53,684 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0062: Http management interface listening on http://0.0.0.0:9990/management and https://0.0.0.0:9993/management
2024-01-04 12:26:53,684 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0053: Admin console listening on http://0.0.0.0:9990 and https://0.0.0.0:9993
@slominskir
Copy link
Member Author

@slominskir
Copy link
Member Author

Clear cache commands:

rm -rf /opt/wildfly/current/standalone/tmp/infinispan/web
rm -rf /opt/wildfly/current/standalone/data/infinispan/web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant