Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 595752 Details for
Bug 837029
Change of JBC configuration - LRU algorithm + separate configuration for portal-system workspace
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch with new JBC configuration
algorithm-lru.patch (text/plain), 8.23 KB, created by
Michal Vanco
on 2012-07-02 14:45:51 UTC
(
hide
)
Description:
Patch with new JBC configuration
Filename:
MIME Type:
Creator:
Michal Vanco
Created:
2012-07-02 14:45:51 UTC
Size:
8.23 KB
patch
obsolete
>Index: component/common/src/main/java/conf/configuration-jboss.properties >=================================================================== >--- component/common/src/main/java/conf/configuration-jboss.properties (revision 8721) >+++ component/common/src/main/java/conf/configuration-jboss.properties (working copy) >@@ -32,6 +32,7 @@ > gatein.jcr.data.dir=${gatein.data.dir}/jcr > gatein.jcr.storage.data.dir=${gatein.jcr.data.dir}/values > gatein.jcr.cache.config=war:/conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml >+gatein.jcr.cache.config.workspace.portal-system=war:/conf/jcr/jbosscache/${gatein.jcr.config.type}/config_portal-system.xml > gatein.jcr.lock.cache.config=war:/conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml > gatein.jcr.index.data.dir=${gatein.jcr.data.dir}/lucene > gatein.jcr.index.changefilterclass=org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter >Index: web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml >=================================================================== >--- web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml (revision 8721) >+++ web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml (working copy) >@@ -126,7 +126,7 @@ > </initializer> > <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache"> > <properties> >- <property name="jbosscache-configuration" value="${gatein.jcr.cache.config}" /> >+ <property name="jbosscache-configuration" value="${gatein.jcr.cache.config.workspace.portal-system}" /> > <property name="jgroups-configuration" value="${gatein.jcr.jgroups.config}" /> > <property name="jgroups-multiplexer-stack" value="false" /> > <property name="jbosscache-cluster-name" value="jcr${container.name.suffix}" /> >Index: web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/cluster/config.xml >=================================================================== >--- web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/cluster/config.xml (revision 8721) >+++ web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/cluster/config.xml (working copy) >@@ -30,11 +30,11 @@ > > <!-- Eviction configuration --> > <eviction wakeUpInterval="5000"> >- <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" >+ <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" > actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" > eventQueueSize="1000000"> >- <property name="maxNodes" value="5000"/> >- <property name="minTimeToLive" value="20000"/> >+ <property name="maxNodes" value="10000"/> >+ <property name="timeToLive" value="60000"/> > </default> > </eviction> > </jbosscache> >Index: web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/cluster/config_portal-system.xml >=================================================================== >--- web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/cluster/config_portal-system.xml (revision 0) >+++ web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/cluster/config_portal-system.xml (revision 0) >@@ -0,0 +1,40 @@ >+<!-- >+ ~ Copyright (C) 2009 eXo Platform SAS. >+ ~ >+ ~ This is free software; you can redistribute it and/or modify it >+ ~ under the terms of the GNU Lesser General Public License as >+ ~ published by the Free Software Foundation; either version 2.1 of >+ ~ the License, or (at your option) any later version. >+ ~ >+ ~ This software is distributed in the hope that it will be useful, >+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of >+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >+ ~ Lesser General Public License for more details. >+ ~ >+ ~ You should have received a copy of the GNU Lesser General Public >+ ~ License along with this software; if not, write to the Free >+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA >+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org. >+ --> >+ >+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1"> >+ >+ <locking useLockStriping="false" concurrencyLevel="64" lockParentForChildInsertRemove="false" >+ lockAcquisitionTimeout="20000" /> >+ >+ <clustering mode="replication" clusterName="${jboss.partition.name:DefaultPartition}-${jbosscache-cluster-name}"> >+ <stateRetrieval timeout="20000" fetchInMemoryState="false" /> >+ <jgroupsConfig configFile="jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml" /> >+ <sync /> >+ </clustering> >+ >+ <!-- Eviction configuration --> >+ <eviction wakeUpInterval="5000"> >+ <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" >+ actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" >+ eventQueueSize="1000000"> >+ <property name="maxNodes" value="300000"/> >+ <property name="timeToLive" value="60000"/> >+ </default> >+ </eviction> >+</jbosscache> >Index: web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/local/config.xml >=================================================================== >--- web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/local/config.xml (revision 8721) >+++ web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/local/config.xml (working copy) >@@ -28,11 +28,11 @@ > > <!-- Eviction configuration --> > <eviction wakeUpInterval="5000"> >- <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" >+ <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" > actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" > eventQueueSize="1000000"> >- <property name="maxNodes" value="5000"/> >- <property name="minTimeToLive" value="20000"/> >+ <property name="maxNodes" value="10000"/> >+ <property name="timeToLive" value="60000"/> > </default> > </eviction> > >Index: web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/local/config_portal-system.xml >=================================================================== >--- web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/local/config_portal-system.xml (revision 0) >+++ web/portal/src/main/webapp/WEB-INF/conf/jcr/jbosscache/local/config_portal-system.xml (revision 0) >@@ -0,0 +1,39 @@ >+<!-- >+ ~ Copyright (C) 2009 eXo Platform SAS. >+ ~ >+ ~ This is free software; you can redistribute it and/or modify it >+ ~ under the terms of the GNU Lesser General Public License as >+ ~ published by the Free Software Foundation; either version 2.1 of >+ ~ the License, or (at your option) any later version. >+ ~ >+ ~ This software is distributed in the hope that it will be useful, >+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of >+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >+ ~ Lesser General Public License for more details. >+ ~ >+ ~ You should have received a copy of the GNU Lesser General Public >+ ~ License along with this software; if not, write to the Free >+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA >+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org. >+ --> >+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1"> >+ >+ <locking useLockStriping="false" concurrencyLevel="64" lockParentForChildInsertRemove="false" lockAcquisitionTimeout="20000"/> >+ >+ <!-- Configure the TransactionManager --> >+ <transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" /> >+ >+ <!-- Enable batching --> >+ <invocationBatching enabled="true" /> >+ >+ <!-- Eviction configuration --> >+ <eviction wakeUpInterval="5000"> >+ <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" >+ actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" >+ eventQueueSize="1000000"> >+ <property name="maxNodes" value="300000"/> >+ <property name="timeToLive" value="60000"/> >+ </default> >+ </eviction> >+ >+</jbosscache>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 837029
: 595752