directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r431295 - in /directory/branches/apacheds/1.0: server-installers/src/main/installers/server.xml server-main/server.xml
Date Mon, 14 Aug 2006 05:24:21 GMT
Author: akarasulu
Date: Sun Aug 13 22:24:20 2006
New Revision: 431295

URL: http://svn.apache.org/viewvc?rev=431295&view=rev
Log:
too much cache usage: using less to fit nice 384MB footprint

Modified:
    directory/branches/apacheds/1.0/server-installers/src/main/installers/server.xml
    directory/branches/apacheds/1.0/server-main/server.xml

Modified: directory/branches/apacheds/1.0/server-installers/src/main/installers/server.xml
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/server-installers/src/main/installers/server.xml?rev=431295&r1=431294&r2=431295&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/server-installers/src/main/installers/server.xml (original)
+++ directory/branches/apacheds/1.0/server-installers/src/main/installers/server.xml Sun Aug
13 22:24:20 2006
@@ -183,7 +183,7 @@
   <!-- the system partition                                               --> 
   <bean id="systemPartitionConfiguration" class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
     <property name="name"><value>system</value></property>
-    <property name="cacheSize"><value>10000</value></property>
+    <property name="cacheSize"><value>1000</value></property>
     <property name="suffix"><value>ou=system</value></property>
 
     <!-- the optimizer is enabled by default but may not always be what     -->
@@ -197,24 +197,24 @@
       the periodic synch operation will flush dirty pages using the
       synchPeriodMillis parameter in the main configuration.
     -->
-    <property name="synchOnWrite"><value>false</value></property>
+    <property name="synchOnWrite"><value>true</value></property>
     <property name="indexedAttributes">
       <set>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
-          <property name="cacheSize"><value>1000000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
@@ -231,15 +231,15 @@
 
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>ou</value></property>
-          <property name="cacheSize"><value>50000</value></property>
+          <property name="cacheSize"><value>5000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>uid</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>objectClass</value></property>
-          <property name="cacheSize"><value>100000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
       </set>
     </property>
@@ -256,7 +256,7 @@
 
   <bean id="examplePartitionConfiguration" class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
     <property name="name"><value>example</value></property>
-    <property name="cacheSize"><value>10000</value></property>
+    <property name="cacheSize"><value>1000</value></property>
     <property name="suffix"><value>dc=example,dc=com</value></property>
 
     <!-- the optimizer is enabled by default but may not always be what     -->
@@ -270,24 +270,24 @@
       the periodic synch operation will flush dirty pages using the
       synchPeriodMillis parameter in the main configuration.
     -->
-    <property name="synchOnWrite"><value>false</value></property>
+    <property name="synchOnWrite"><value>true</value></property>
     <property name="indexedAttributes">
       <set>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
-          <property name="cacheSize"><value>1000000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
@@ -308,19 +308,19 @@
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>ou</value></property>
-          <property name="cacheSize"><value>50000</value></property>
+          <property name="cacheSize"><value>5000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>krb5PrincipalName</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>uid</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>objectClass</value></property>
-          <property name="cacheSize"><value>100000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
       </set>
     </property>

Modified: directory/branches/apacheds/1.0/server-main/server.xml
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/server-main/server.xml?rev=431295&r1=431294&r2=431295&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/server-main/server.xml (original)
+++ directory/branches/apacheds/1.0/server-main/server.xml Sun Aug 13 22:24:20 2006
@@ -183,12 +183,12 @@
   <!-- the system partition                                               --> 
   <bean id="systemPartitionConfiguration" class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
     <property name="name"><value>system</value></property>
-    <property name="cacheSize"><value>10000</value></property>
+    <property name="cacheSize"><value>1000</value></property>
     <property name="suffix"><value>ou=system</value></property>
 
     <!-- the optimizer is enabled by default but may not always be what     -->
     <!-- you want if your queries are really simple                         -->
-    <property name="enableOptimizer"><value>true</value></property>
+    <property name="optimizerEnabled"><value>true</value></property>
 
     <!--
       Synchronization on writes does not wait for synch operations
@@ -197,24 +197,24 @@
       the periodic synch operation will flush dirty pages using the
       synchPeriodMillis parameter in the main configuration.
     -->
-    <property name="synchOnWrite"><value>false</value></property>
+    <property name="synchOnWrite"><value>true</value></property>
     <property name="indexedAttributes">
       <set>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
-          <property name="cacheSize"><value>1000000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
@@ -231,15 +231,15 @@
 
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>ou</value></property>
-          <property name="cacheSize"><value>50000</value></property>
+          <property name="cacheSize"><value>5000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>uid</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>objectClass</value></property>
-          <property name="cacheSize"><value>100000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
       </set>
     </property>
@@ -256,12 +256,12 @@
 
   <bean id="examplePartitionConfiguration" class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
     <property name="name"><value>example</value></property>
-    <property name="cacheSize"><value>10000</value></property>
+    <property name="cacheSize"><value>1000</value></property>
     <property name="suffix"><value>dc=example,dc=com</value></property>
 
     <!-- the optimizer is enabled by default but may not always be what     -->
     <!-- you want if your queries are really simple                         -->
-    <property name="enableOptimizer"><value>true</value></property>
+    <property name="optimizerEnabled"><value>true</value></property>
 
     <!--
       Synchronization on writes does not wait for synch operations
@@ -270,24 +270,24 @@
       the periodic synch operation will flush dirty pages using the
       synchPeriodMillis parameter in the main configuration.
     -->
-    <property name="synchOnWrite"><value>false</value></property>
+    <property name="synchOnWrite"><value>true</value></property>
     <property name="indexedAttributes">
       <set>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
-          <property name="cacheSize"><value>1000000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
@@ -308,19 +308,19 @@
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>ou</value></property>
-          <property name="cacheSize"><value>50000</value></property>
+          <property name="cacheSize"><value>5000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>krb5PrincipalName</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>uid</value></property>
-          <property name="cacheSize"><value>10000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>objectClass</value></property>
-          <property name="cacheSize"><value>100000</value></property>
+          <property name="cacheSize"><value>1000</value></property>
         </bean>
       </set>
     </property>



Mime
View raw message