directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r421142 - in /directory/branches/apacheds/optimization: server-installers/src/main/installers/server.xml server-main/server.xml
Date Wed, 12 Jul 2006 05:53:05 GMT
Author: akarasulu
Date: Tue Jul 11 22:53:04 2006
New Revision: 421142

URL: http://svn.apache.org/viewvc?rev=421142&view=rev
Log:
fine tuning of the server with additional parameters for controlling the size and time limits
as well as the number of threads

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

Modified: directory/branches/apacheds/optimization/server-installers/src/main/installers/server.xml
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/server-installers/src/main/installers/server.xml?rev=421142&r1=421141&r2=421142&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/server-installers/src/main/installers/server.xml
(original)
+++ directory/branches/apacheds/optimization/server-installers/src/main/installers/server.xml
Tue Jul 11 22:53:04 2006
@@ -52,6 +52,14 @@
       </list>
     </property>-->
 
+    <!-- limits searches by non-admin users to a max time of 15000          -->
+    <!-- milliseconds and has a default value of 10000                      -->
+    <property name="maxTimeLimit"><value>15000</value></property>
+    <!-- limits searches to max size of 1000 entries: default value is 100  -->
+    <property name="maxSizeLimit"><value>1000</value></property>
+    <!-- maximum number of threads used by mina is set to 8: default is 4   -->
+    <property name="maxThreads"><value>8</value></property>
+
     <property name="allowAnonymousAccess"><value>false</value></property>
     <property name="accessControlEnabled"><value>false</value></property>
     <property name="enableNtp"><value>false</value></property>
@@ -176,19 +184,19 @@
       <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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>1000000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>
@@ -205,23 +213,23 @@
 
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>dc</value></property>
-          <property name="cacheSize"><value>100</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>ou</value></property>
-          <property name="cacheSize"><value>100</value></property>
+          <property name="cacheSize"><value>50000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>100000</value></property>
         </bean>
       </set>
     </property>

Modified: directory/branches/apacheds/optimization/server-main/server.xml
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/server-main/server.xml?rev=421142&r1=421141&r2=421142&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/server-main/server.xml (original)
+++ directory/branches/apacheds/optimization/server-main/server.xml Tue Jul 11 22:53:04 2006
@@ -52,6 +52,14 @@
       </list>
     </property>-->
 
+    <!-- limits searches by non-admin users to a max time of 15000          -->
+    <!-- milliseconds and has a default value of 10000                      -->
+    <property name="maxTimeLimit"><value>15000</value></property>
+    <!-- limits searches to max size of 1000 entries: default value is 100  -->
+    <property name="maxSizeLimit"><value>1000</value></property>
+    <!-- maximum number of threads used by mina is set to 8: default is 4   -->
+    <property name="maxThreads"><value>8</value></property>
+
     <property name="allowAnonymousAccess"><value>false</value></property>
     <property name="accessControlEnabled"><value>false</value></property>
     <property name="enableNtp"><value>false</value></property>
@@ -176,19 +184,19 @@
       <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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>1000000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>
@@ -205,23 +213,23 @@
 
         <bean class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
           <property name="attributeId"><value>dc</value></property>
-          <property name="cacheSize"><value>100</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>ou</value></property>
-          <property name="cacheSize"><value>100</value></property>
+          <property name="cacheSize"><value>50000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>10000</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>100</value></property>
+          <property name="cacheSize"><value>100000</value></property>
         </bean>
       </set>
     </property>



Mime
View raw message