[jboss-cvs] JBossAS SVN: r79148 - trunk/cluster/src/resources/jgroups.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 6 08:35:24 EDT 2008


Author: bstansberry at jboss.com
Date: 2008-10-06 08:35:24 -0400 (Mon, 06 Oct 2008)
New Revision: 79148

Modified:
   trunk/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
Log:
[JBAS-6039] Change JGroups thread pool rejection policy to 'Discard'

Modified: trunk/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
===================================================================
--- trunk/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml	2008-10-06 12:20:44 UTC (rev 79147)
+++ trunk/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml	2008-10-06 12:35:24 UTC (rev 79148)
@@ -26,12 +26,12 @@
 		     use_concurrent_stack="true"
 		
 		     thread_pool.enabled="true"
-		     thread_pool.min_threads="1"
+		     thread_pool.min_threads="20"
 		     thread_pool.max_threads="200"
 		     thread_pool.keep_alive_time="5000"
 		     thread_pool.queue_enabled="true"
 		     thread_pool.queue_max_size="1000"
-		     thread_pool.rejection_policy="Run"
+		     thread_pool.rejection_policy="discard"
 		      
 		     oob_thread_pool.enabled="true"
 		     oob_thread_pool.min_threads="1"
@@ -39,7 +39,7 @@
 		     oob_thread_pool.keep_alive_time="5000"
 		     oob_thread_pool.queue_enabled="false"
 		     oob_thread_pool.queue_max_size="100"
-		     oob_thread_pool.rejection_policy="Run"/>
+		     oob_thread_pool.rejection_policy="run"/>
 		'>
 ]>
 
@@ -124,20 +124,20 @@
              use_concurrent_stack="true"
 
              thread_pool.enabled="true"
-             thread_pool.min_threads="1"
+             thread_pool.min_threads="8"
              thread_pool.max_threads="200"
              thread_pool.keep_alive_time="5000"
              thread_pool.queue_enabled="true"
              thread_pool.queue_max_size="1000"
-             thread_pool.rejection_policy="Run"
+             thread_pool.rejection_policy="discard"
       
              oob_thread_pool.enabled="true"
              oob_thread_pool.min_threads="1"
-             oob_thread_pool.max_threads="20"
+             oob_thread_pool.max_threads="8"
              oob_thread_pool.keep_alive_time="5000"
              oob_thread_pool.queue_enabled="false"
              oob_thread_pool.queue_max_size="100"
-             oob_thread_pool.rejection_policy="Run"/>
+             oob_thread_pool.rejection_policy="run"/>
           <PING timeout="2000" num_initial_members="3"/>
           <MERGE2 max_interval="100000" min_interval="20000"/>
           <FD_SOCK/>
@@ -190,12 +190,12 @@
                  use_concurrent_stack="true"
 
 		           thread_pool.enabled="true"
-		           thread_pool.min_threads="1"
+		           thread_pool.min_threads="8"
 		           thread_pool.max_threads="200"
     		        thread_pool.keep_alive_time="5000"
     		        thread_pool.queue_enabled="true"
     		        thread_pool.queue_max_size="1000"
-    		        thread_pool.rejection_policy="Run"
+    		        thread_pool.rejection_policy="discard"
     		
     		        oob_thread_pool.enabled="true"
     		        oob_thread_pool.min_threads="1"
@@ -203,7 +203,7 @@
     		        oob_thread_pool.keep_alive_time="5000"
     		        oob_thread_pool.queue_enabled="false"
     		        oob_thread_pool.queue_max_size="100"
-    		        oob_thread_pool.rejection_policy="Run"/>
+    		        oob_thread_pool.rejection_policy="run"/>
             <PING timeout="2000" num_initial_members="3"/>
             <MERGE2 max_interval="100000" min_interval="20000"/>
             <FD_SOCK/>
@@ -253,7 +253,7 @@
                  use_concurrent_stack="true"
 	
 		           thread_pool.enabled="true"
-		           thread_pool.min_threads="1"
+		           thread_pool.min_threads="20"
 		           thread_pool.max_threads="200"
 		           thread_pool.keep_alive_time="5000"
 		           thread_pool.queue_enabled="true"
@@ -262,11 +262,11 @@
 		
                  oob_thread_pool.enabled="true"
 		           oob_thread_pool.min_threads="1"
-		           oob_thread_pool.max_threads="8"
+		           oob_thread_pool.max_threads="20"
 		           oob_thread_pool.keep_alive_time="5000"
 		           oob_thread_pool.queue_enabled="false"
 		           oob_thread_pool.queue_max_size="100"
-		           oob_thread_pool.rejection_policy="discard"/>
+		           oob_thread_pool.rejection_policy="run"/>
 		      <!-- Alternative 1: multicast-based automatic discovery. -->   
             <MPING timeout="3000"
                    num_initial_members="3"
@@ -331,7 +331,7 @@
                  use_concurrent_stack="true"
                  
                  thread_pool.enabled="true"
-		           thread_pool.min_threads="1"
+		           thread_pool.min_threads="8"
 		           thread_pool.max_threads="200"
 		           thread_pool.keep_alive_time="5000"
 		           thread_pool.queue_enabled="true"
@@ -344,7 +344,7 @@
 		           oob_thread_pool.keep_alive_time="5000"
 		           oob_thread_pool.queue_enabled="false"
 		           oob_thread_pool.queue_max_size="100"
-		           oob_thread_pool.rejection_policy="discard"/>
+		           oob_thread_pool.rejection_policy="run"/>
             <!-- Alternative 1: multicast-based automatic discovery. -->   
             <MPING timeout="3000"
                    num_initial_members="3"
@@ -442,12 +442,12 @@
                  use_concurrent_stack="true" 
                  
                  thread_pool.enabled="true"
-                 thread_pool.min_threads="1"
+                 thread_pool.min_threads="8"
                  thread_pool.max_threads="200"
                  thread_pool.keep_alive_time="5000"
                  thread_pool.queue_enabled="true" 
                  thread_pool.queue_max_size="500"
-                 thread_pool.rejection_policy="run"
+                 thread_pool.rejection_policy="discard"
                  
                  oob_thread_pool.enabled="true"
                  oob_thread_pool.min_threads="1"




More information about the jboss-cvs-commits mailing list