Author: thomas.heute(a)jboss.com
Date: 2010-04-28 09:52:19 -0400 (Wed, 28 Apr 2010)
New Revision: 2872
Modified:
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/indexer-config.xml
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/lock-config.xml
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/lock-config.xml
Log:
JBEPP-329: Change JCR default cache value to reduce the memory consumption
Modified:
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
===================================================================
---
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml 2010-04-28
13:09:02 UTC (rev 2871)
+++
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml 2010-04-28
13:52:19 UTC (rev 2872)
@@ -19,7 +19,7 @@
<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
+ <locking useLockStriping="false" concurrencyLevel="500"
lockParentForChildInsertRemove="false"
lockAcquisitionTimeout="20000" />
<clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
@@ -33,8 +33,8 @@
<default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
eventQueueSize="1000000">
- <property name="maxNodes" value="1000000" />
- <property name="timeToLive" value="120000" />
+ <property name="maxNodes" value="5000" />
+ <property name="timeToLive" value="20000" />
</default>
</eviction>
-</jbosscache>
\ No newline at end of file
+</jbosscache>
Modified:
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/indexer-config.xml
===================================================================
---
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/indexer-config.xml 2010-04-28
13:09:02 UTC (rev 2871)
+++
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/indexer-config.xml 2010-04-28
13:52:19 UTC (rev 2872)
@@ -18,7 +18,7 @@
-->
<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
+ <locking useLockStriping="false" concurrencyLevel="500"
lockParentForChildInsertRemove="false"
lockAcquisitionTimeout="20000" />
<!-- Configure the TransactionManager -->
@@ -32,9 +32,9 @@
<!-- Eviction configuration -->
<eviction wakeUpInterval="5000">
<default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"
eventQueueSize="1000000">
- <property name="maxNodes" value="10000" />
- <property name="minTimeToLive" value="60000" />
+ <property name="maxNodes" value="5000" />
+ <property name="minTimeToLive" value="20000" />
</default>
</eviction>
-</jbosscache>
\ No newline at end of file
+</jbosscache>
Modified:
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/lock-config.xml
===================================================================
---
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/lock-config.xml 2010-04-28
13:09:02 UTC (rev 2871)
+++
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/cluster/lock-config.xml 2010-04-28
13:52:19 UTC (rev 2872)
@@ -19,7 +19,7 @@
<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000"
/>
+ <locking useLockStriping="false" concurrencyLevel="500"
lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000"
/>
<clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
<stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
@@ -47,4 +47,4 @@
</properties>
</loader>
</loaders>
-</jbosscache>
\ No newline at end of file
+</jbosscache>
Modified:
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
===================================================================
---
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml 2010-04-28
13:09:02 UTC (rev 2871)
+++
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml 2010-04-28
13:52:19 UTC (rev 2872)
@@ -18,7 +18,7 @@
-->
<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
lockAcquisitionTimeout="20000"/>
+ <locking useLockStriping="false" concurrencyLevel="500"
lockParentForChildInsertRemove="false"
lockAcquisitionTimeout="20000"/>
<!-- Configure the TransactionManager -->
<transaction
transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup"
/>
@@ -30,8 +30,8 @@
<eviction wakeUpInterval="5000">
<default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
eventQueueSize="1000000">
<property name="maxNodes" value="5000" />
- <property name="minTimeToLive" value="60000" />
+ <property name="minTimeToLive" value="20000" />
</default>
</eviction>
-</jbosscache>
\ No newline at end of file
+</jbosscache>
Modified:
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/lock-config.xml
===================================================================
---
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/lock-config.xml 2010-04-28
13:09:02 UTC (rev 2871)
+++
portal/branches/EPP_5_0_Branch/component/common/src/main/java/conf/jcr/jbosscache/local/lock-config.xml 2010-04-28
13:52:19 UTC (rev 2872)
@@ -18,7 +18,7 @@
-->
<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000"
/>
+ <locking useLockStriping="false" concurrencyLevel="500"
lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000"
/>
<loaders passivation="false" shared="true">
<preload>
@@ -40,4 +40,4 @@
</properties>
</loader>
</loaders>
-</jbosscache>
\ No newline at end of file
+</jbosscache>