2 Replies Latest reply on Feb 1, 2016 3:01 AM by Sebastian Łaskawiec

    Why memory and live threads are increasing jboss-datagrid-6.5.1-server

    Sureshkumar Natarajan Newbie

      Hi there,

       

      Im implementing jboss datagrid.

       

      I see a gradual increase in memory and live threads daily.

      When i monitor from jconsole, i could see the GC is happening periodically but next time the peek touches new high in the graph.

      If i click perform GC it comes down to the lowest and the same trend starts again. I could understand that there is some memory leak, but what triggers?.

       

      I have only two clients connecting this server to put and get objects.

      Capture.PNG

       

      configuration in my clustered-two-nodes.xml is as follows,

      ...

      <cache-container name="clustered" default-cache="remoteCache" statistics="true">

                      <transport executor="infinispan-transport" lock-timeout="60000"/>

                      <distributed-cache name="remoteCache" mode="SYNC" segments="20" owners="3" l1-lifespan="-1" remote-timeout="30000" start="EAGER">

        <eviction max-entries="20000" strategy="LRU"/>

        <expiration lifespan="1800000" max-idle="1800000"/>

                          <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>

                          <transaction mode="NONE"/>

                      </distributed-cache>

                      <distributed-cache name="memcachedCache" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER">

                          <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>

                          <transaction mode="NONE"/>

                      </distributed-cache>

                      <distributed-cache name="namedCache" mode="SYNC" start="EAGER"/>

                  </cache-container>

      ...

       

      and my jvm args are,

      -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=1800000 -Dsun.rmi.dgc.server.gcInterval=1800000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=clustered.xml -Dsun.nio.ch.bugLevel= -Dorg.jboss.boot.log.file=/apps/jboss-datagrid-6.5.1-server/standalone/log/boot.log -Dlogging.configuration=file:/apps/jboss-datagrid-6.5.1-server/standalone/configuration/logging.properties

       

      Thanks