[jboss-cvs] JBossAS SVN: r60113 - branches/Branch_4_2/tomcat/src/resources.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 30 01:43:11 EST 2007


Author: bstansberry at jboss.com
Date: 2007-01-30 01:43:11 -0500 (Tue, 30 Jan 2007)
New Revision: 60113

Modified:
   branches/Branch_4_2/tomcat/src/resources/jboss-web-cluster-service.xml
Log:
[JBAS-4021] Add a system property for mcast_port
Sync up with JG 2.4.1 stacks.xml
Use tcp_nodelay=true as latency is important

Modified: branches/Branch_4_2/tomcat/src/resources/jboss-web-cluster-service.xml
===================================================================
--- branches/Branch_4_2/tomcat/src/resources/jboss-web-cluster-service.xml	2007-01-30 06:03:10 UTC (rev 60112)
+++ branches/Branch_4_2/tomcat/src/resources/jboss-web-cluster-service.xml	2007-01-30 06:43:11 UTC (rev 60113)
@@ -106,69 +106,93 @@
             -->
             <config>
                 <UDP mcast_addr="${jboss.partition.udpGroup:230.1.2.7}" 
-                     mcast_port="45577"
-                     ucast_recv_buf_size="20000000"
-                     ucast_send_buf_size="640000"
-                     mcast_recv_buf_size="25000000" 
-                     mcast_send_buf_size="640000" 
-                     loopback="false" 
-                     max_bundle_size="64000" 
-                     max_bundle_timeout="30" 
-                     use_incoming_packet_handler="true" 
-                     use_outgoing_packet_handler="true" 
-                     ip_ttl="${jgroups.mcast.ip_ttl:2}" 
-                     down_thread="false" up_thread="false"
-                     enable_bundling="true"/>
-                <PING timeout="2000"
-                      down_thread="false" up_thread="false" num_initial_members="3"/>
-                <MERGE2 max_interval="100000"
-                        down_thread="false" up_thread="false" min_interval="20000"/>
-                <FD_SOCK down_thread="false" up_thread="false"/>
-                <FD shun="true" up_thread="false" down_thread="false"
-                        timeout="20000" max_tries="5"/>
-                <VERIFY_SUSPECT timeout="1500"
-                        up_thread="false" down_thread="false"/>
-                <pbcast.NAKACK max_xmit_size="60000"
-                               use_mcast_xmit="false" gc_lag="50" 
-                               retransmit_timeout="300,600,1200,2400,4800" 
-                               down_thread="false" up_thread="false"
-                               discard_delivered_msgs="true"/>
-                <UNICAST timeout="300,600,1200,2400,3600" 
-                         down_thread="false" up_thread="false"/>
-                <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" 
-                               down_thread="false" up_thread="false"
-                               max_bytes="400000"/>
-                <pbcast.GMS print_local_addr="true" join_timeout="3000" 
-                            down_thread="false" up_thread="false"
-                            join_retry_timeout="2000" shun="true"/>
-                <FC max_credits="2000000" down_thread="false" up_thread="false"
-                    min_threshold="0.10"/>
-                <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
-                <pbcast.STATE_TRANSFER down_thread="false" up_thread="false"/>
+                     mcast_port="${jboss.webpartition.mcast_port:45577}"
+		             tos="8"
+		             ucast_recv_buf_size="20000000"
+		             ucast_send_buf_size="640000"
+		             mcast_recv_buf_size="25000000"
+		             mcast_send_buf_size="640000"
+		             loopback="false"
+		             discard_incompatible_packets="true"
+		             max_bundle_size="64000"
+		             max_bundle_timeout="30"
+		             use_incoming_packet_handler="true"
+		             use_outgoing_packet_handler="false"
+		             ip_ttl="${jgroups.udp.ip_ttl:2}"
+		             down_thread="false" up_thread="false"
+		             enable_bundling="true"/>
+		          <PING timeout="2000"
+		             down_thread="false" up_thread="false" num_initial_members="3"/>
+		          <MERGE2 max_interval="100000"
+		             down_thread="false" up_thread="false" min_interval="20000"/>
+		          <FD_SOCK down_thread="false" up_thread="false"/>
+		          <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+		          <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+		          <pbcast.NAKACK max_xmit_size="60000"
+		                   use_mcast_xmit="false" gc_lag="0"
+		                   retransmit_timeout="300,600,1200,2400,4800"
+		                   down_thread="false" up_thread="false"
+		                   discard_delivered_msgs="true"/>
+		          <UNICAST timeout="300,600,1200,2400,3600"
+		             down_thread="false" up_thread="false"/>
+		          <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+		                   down_thread="false" up_thread="false"
+		                   max_bytes="400000"/>
+		          <pbcast.GMS print_local_addr="true" join_timeout="3000"
+		                   down_thread="false" up_thread="false"
+		                   join_retry_timeout="2000" shun="true"
+		                   view_bundling="true"
+		                   view_ack_collection_timeout="5000"/>
+		          <FC max_credits="2000000" down_thread="false" up_thread="false"
+		              min_threshold="0.10"/>
+		          <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+		          <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
            </config>
 
-           <!-- Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts -->
+           <!-- 
+               Alternate TCP stack: customize it for your environment, 
+               change bind_addr and initial_hosts -->
            <!--
            <config>
-              <TCP bind_addr="thishost" start_port="7810" loopback="true" 
-                   tcp_nodelay="false" down_thread="false" up_thread="false"/>
-              <TCPPING initial_hosts="thishost[7810],otherhost[7810]" port_range="3" timeout="3500"
-                 num_initial_members="3" up_thread="false" down_thread="false"/>
-              <MERGE2 min_interval="5000" max_interval="10000"
-                 up_thread="false" down_thread="false"/>
-              <FD_SOCK down_thread="false" up_thread="false"/>
-              <FD shun="true" up_thread="false" down_thread="false"
-                 timeout="10000" max_tries="5"/>
-              <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false" />
-              <pbcast.NAKACK down_thread="false" up_thread="false" gc_lag="100"
-                 retransmit_timeout="3000"/>
-              <pbcast.STABLE desired_avg_gossip="20000" down_thread="false" up_thread="false" />
-              <pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="true"
-                 print_local_addr="true" down_thread="false" up_thread="false"/>
-              <FC max_credits="2000000" down_thread="false" up_thread="false"
-                 min_threshold="0.10"/>
-              <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
-              <pbcast.STATE_TRANSFER up_thread="false" down_thread="false"/>
+                <TCP bind_addr="thishost" start_port="7810" loopback="true"
+                     tcp_nodelay="true"
+	                 recv_buf_size="20000000"
+	                 send_buf_size="640000"
+	                 discard_incompatible_packets="true"
+	                 max_bundle_size="64000"
+	                 max_bundle_timeout="30"
+	                 use_incoming_packet_handler="true"
+	                 use_outgoing_packet_handler="false"
+	                 down_thread="false" up_thread="false"
+	                 enable_bundling="true"
+	                 use_send_queues="false"
+	                 sock_conn_timeout="300"
+	                 skip_suspected_members="true"/>
+	            <TCPPING initial_hosts="thishost[7810],otherhost[7810]" port_range="3"
+	                     timeout="3000"
+	                     down_thread="false" up_thread="false"
+	                     num_initial_members="3"/>
+	            <MERGE2 max_interval="100000"
+	                    down_thread="false" up_thread="false" min_interval="20000"/>
+	            <FD_SOCK down_thread="false" up_thread="false"/>
+	            <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+	            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+	            <pbcast.NAKACK max_xmit_size="60000"
+	                           use_mcast_xmit="false" gc_lag="0"
+	                           retransmit_timeout="300,600,1200,2400,4800"
+	                           down_thread="false" up_thread="false"
+	                           discard_delivered_msgs="true"/>
+	            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+	                           down_thread="false" up_thread="false"
+	                           max_bytes="400000"/>
+	            <pbcast.GMS print_local_addr="true" join_timeout="3000"
+	                        down_thread="false" up_thread="false"
+	                        join_retry_timeout="2000" shun="true"
+	                        view_bundling="true"/>
+	            <FC max_credits="2000000" down_thread="false" up_thread="false"
+	                min_threshold="0.10"/>
+	            <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+	            <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
            </config>
            -->
 




More information about the jboss-cvs-commits mailing list