[jboss-user] [JBossCache] - Re: Jboss cache and heapspace memory

haribaasha do-not-reply at jboss.com
Tue Nov 13 23:03:53 EST 2007


Yes u are right, i call remove instead of evict when maxage is reached.
i am using the Jboss Cache 1.4 , i think jalapeno...so that wud be a remove call on TreeCache. This wud be the (2) u were talking abt ? 

my cache config file as in u mean the jboss-service.xml ? 

<?xml version="1.0" encoding="UTF-8"?>
                
       
	 jboss:service=Naming

	 
            
	      <TCP   bind_addr="10.1.30.66"
		     start_port="51000"
		     loopback="true"/>

             <PING timeout="2000" num_initial_members="3"
                 up_thread="true" down_thread="true"/>
             <TCPPING initial_hosts="10.1.30.62[51000],10.1.30.66[51000]" port_range="3" timeout="3500" num_initial_members="3" up_thread="true" down_thread="true"/>
              <MERGE2 min_interval="10000" max_interval="20000"/>
              <FD shun="true" up_thread="true" down_thread="true"
                 timeout="2500" max_tries="5"/>
              <VERIFY_SUSPECT timeout="3000" num_msgs="3"
                 up_thread="true" down_thread="true"/>
              <pbcast.NAKACK gc_lag="50"
                 retransmit_timeout="300,600,1200,2400,4800"
                 max_xmit_size="8192"
                 up_thread="true" down_thread="true"/>
              <UNICAST timeout="300,600,1200,2400,4800" 
                 window_size="100" min_threshold="10"
                 down_thread="true"/>
              <pbcast.STABLE desired_avg_gossip="20000"
                 up_thread="true" down_thread="true"/>
              <FRAG frag_size="8192"
                 down_thread="true" up_thread="true"/>
              <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
                 shun="true" print_local_addr="true"/>
              <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>

	     
        


        <!--
            Node locking level : SERIALIZABLE
                                 REPEATABLE_READ (default)
                                 READ_COMMITTED
                                 READ_UNCOMMITTED
                                 NONE
       
        REPEATABLE_READ
 	-->
        REPL_ASYNC

        <!-- Name of cluster. Needs to be the same for all clusters, in order
             to find each other
        -->
        TreeCache

        <!-- JGroups protocol stack properties. Can also be a URL,
             e.g. file:/home/bela/default.xml
           
        -->
        <!--
            The max amount of time (in milliseconds) we wait until the
            initial state (ie. the contents of the cache) are retrieved from
            existing members in a clustered environment
        -->
        20000
	
        <!-- New 1.3.x cache loader config block -->

	  <!-- Eviction Policy Configuration -->
    org.jboss.cache.eviction.CustomLRUPolicy
        <!-- Specific eviction policy configurations. This is LRU -->
    
       
         5
         <!-- Cache wide default -->
         
      300
      100
      80000
         
         
      375
      125
      82000
         
       
    




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104377#4104377

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104377



More information about the jboss-user mailing list