jboss - Apache Modcluster failed to drain active sessions -


i'm using jboss eap 6.2 webapplication server , apace modcluster load balancing.

whenever try undeploy webapplication, following warning

14:22:16,318 warn  [org.jboss.modcluster] (serverservice thread pool -- 136) modcluster000025: failed drain 2 remaining active sessions default-host:/starrassist within 10.000000.1 seconds 14:22:16,319 info  [org.jboss.modcluster] (serverservice thread pool -- 136) modcluster000021: pending requests drained default-host:/starrassist in 10.002000.1 seconds 

and takes forever undeploy , eap server-group , node in application deployed becomes unresponsive.

the workaround restart entire eap server. question is, there attribute can set in eap or modcluster active sessions beyond maxtimeout expire itself?

to control timeout stop context can use following configuration value:

stop context timeout

the amount of time, measure in units specified stopcontexttimeoutunit, wait clean shutdown of context (completion of pending requests distributable context; or destruction/expiration of active sessions non-distributable context).

cli command:

/profile=full-ha/subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=stop-context-timeout,value=10) 

ref: configure mod_cluster subsystem

likewise if using jdk 8 take @ issue: draining pending requests fails oracle jdk8


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -