Hi, the configuration of me cluster CAS are two nodes behind a load
balancer. Dual CPU system, 6Gb RAM with Ubuntu 16.04, Tomcat8 with
java-8-openjdk.

Relevant Tomcat8 conf: -Xms512 -Xmx4096 -XX:+UseParallelGC
-XX:ParallelGCThreads=2 -XX:NewRatio=2

CAS 4.1.6 container have: LDAP conn, MySQL conn and EHCache. 60k of
users approx. Normally 15k of TGT live.

Relevant EHCache conf (two caches are Sync because i need instant
replication of PGT same as ST):

    <bean id="abstractTicketCache" abstract="true"
class="org.springframework.cache.ehcache.EhCacheFactoryBean"
      p:cacheManager-ref="cacheManager"
      p:diskExpiryThreadIntervalSeconds="1"
      p:diskPersistent="false"
      p:eternal="false"
      p:maxElementsInMemory="100000"
      p:maxElementsOnDisk="110000"
      p:memoryStoreEvictionPolicy="LRU"
      p:overflowToDisk="true"
      p:bootstrapCacheLoader-ref="ticketCacheBootstrapCacheLoader" />

    <bean id="serviceTicketsCache"
class="org.springframework.cache.ehcache.EhCacheFactoryBean"
      parent="abstractTicketCache"
      p:cacheName="cas_st"
      p:timeToIdle="0"
      p:timeToLive="10"
      p:cacheEventListeners-ref="ticketRMISynchronousCacheReplicator" />

    <bean id="ticketGrantingTicketsCache"
class="org.springframework.cache.ehcache.EhCacheFactoryBean"
      p:cacheName="cas_tgt"
      parent="abstractTicketCache"
      p:timeToIdle="14400"
      p:timeToLive="43200"
      p:cacheEventListeners-ref="ticketRMISynchronousCacheReplicator" />

    <bean id="ticketRMISynchronousCacheReplicator"
class="net.sf.ehcache.distribution.RMISynchronousCacheReplicator"
      c:replicatePuts="true"
      c:replicatePutsViaCopy="true"
      c:replicateUpdates="true"
      c:replicateUpdatesViaCopy="true"
      c:replicateRemovals="true" />

    <bean id="ticketRMIAsynchronousCacheReplicator"
class="net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator"
      parent="ticketRMISynchronousCacheReplicator"
      c:replicationInterval="10000"
      c:maximumBatchSize="100" />

    <bean id="ticketCacheBootstrapCacheLoader"
class="net.sf.ehcache.distribution.RMIBootstrapCacheLoader"
      c:asynchronous="false"
      c:maximumChunkSize="5000000" />

The system working normaly with JMX Memory avg 1.8Gb, but after a while
undetermined (24h, 48h, 72h ...) the JMX DaemonThreads grow (between
100k and 200k) saturating the memory and hangs CAS container.

Any idea about the behaviour or where I can investigate to debug the error.

Thanks for all.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5762B0F5.4070508%40um.es.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to