[jboss-user] [Clustering] - Re: JGroups timing call inomalities
axelerator
do-not-reply at jboss.com
Fri Oct 16 16:54:50 EDT 2009
Hey,
yeah, sorry for the mess-up. Attached is the correct version. You're right, in IRC I told you I have those issues with TCP. Though, on the environment where I copied the config from, UDP was set. after browsing the web for some itches, I found a text stating that in GBit environments, UDP doesn not scale that well, so I switched over to TCP as a first step.
>From that on, I tuned the thread_pool settings but still got no major hint on that.
| <?xml version="1.0" encoding="UTF-8"?>
| <server>
| <mbean code="org.jboss.ha.framework.server.ClusterPartition"
| name="jboss:service=${jboss.partition.name:DefaultPartition}">
| <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
| <attribute name="NodeAddress">${jboss.bind.address}</attribute>
| <attribute name="DeadlockDetection">False</attribute>
| <attribute name="StateTransferTimeout">30000</attribute>
| <attribute name="MethodCallTimeout">300000</attribute>
| <attribute name="PartitionConfig">
| <Config>
| <UDP
| mcast_addr="${jboss.partition.udpGroup:228.1.2.3}"
| mcast_port="${jboss.hapartition.mcast_port:45566}"
| 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"
| use_incoming_packet_handler="true"
| max_bundle_size="60000"
| max_bundle_timeout="30"
| ip_ttl="${jgroups.udp.ip_ttl:8}"
| enable_bundling="false"
| receive_on_all_interfaces="true"
| send_on_all_interfaces="true"
| use_concurrent_stack="true"
| thread_pool.enabled="true"
| thread_pool.min_threads="80"
| thread_pool.max_threads="100"
| thread_pool.keep_alive_time="5000"
| thread_pool.queue_enabled="true"
| thread_pool.queue_max_size="10"
| thread_pool.rejection_policy="run"
| oob_thread_pool.enabled="true"
| oob_thread_pool.min_threads="1"
| oob_thread_pool.max_threads="32"
| 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"/>
| <PING timeout="5000" num_initial_members="2"/>
| <MERGE2 max_interval="100000" min_interval="20000"/>
| <FD_SOCK/>
| <FD timeout="10000" max_tries="30" shun="true"/>
| <VERIFY_SUSPECT timeout="10000" num_msgs="3"/>
| <pbcast.NAKACK max_xmit_size="60000"
| use_mcast_xmit="false" gc_lag="0"
| retransmit_timeout="300,600,1200,2400,4800"
| discard_delivered_msgs="true"/>
| <UNICAST timeout="300,600,1200,2400,3600"/>
| <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
| max_bytes="400000"/>
| <pbcast.GMS print_local_addr="true" join_timeout="3000"
| join_retry_timeout="2000" shun="true"
| view_bundling="true"
| view_ack_collection_timeout="5000"/>
| <FRAG2 frag_size="60000"/>
| <pbcast.STATE_TRANSFER/>
| <pbcast.FLUSH timeout="0"/>
| </Config>
| </attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <mbean code="org.jboss.ha.hasessionstate.server.HASessionStateService"
| name="jboss:service=HASessionState">
| <depends>jboss:service=Naming</depends>
| <depends optional-attribute-name="ClusterPartition"
| proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>
| <attribute name="JndiName">/HASessionState/Default</attribute>
| <attribute name="BeanCleaningDelay">0</attribute>
| </mbean>
|
| <mbean code="org.jboss.ha.jndi.HANamingService"
| name="jboss:service=HAJNDI">
| <depends optional-attribute-name="ClusterPartition"
| proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>
| <attribute name="BindAddress">${jboss.bind.address}</attribute>
| <attribute name="Port">1100</attribute>
| <attribute name="RmiPort">1101</attribute>
| <attribute name="Backlog">50</attribute>
| <depends optional-attribute-name="LookupPool"
| proxy-type="attribute">jboss.system:service=ThreadPool</depends>
|
| <attribute name="DiscoveryDisabled">false</attribute>
| <attribute name="AutoDiscoveryBindAddress">${jboss.bind.address}</attribute>
| <attribute name="AutoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</attribute>
| <attribute name="AutoDiscoveryGroup">1102</attribute>
| <attribute name="AutoDiscoveryTTL">16</attribute>
| <attribute name="LoadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</attribute>
|
| </mbean>
|
| <mbean code="org.jboss.invocation.unified.server.UnifiedInvokerHA"
| name="jboss:service=invoker,type=unifiedha">
| <depends>jboss:service=TransactionManager</depends>
| <depends optional-attribute-name="Connector"
| proxy-type="attribute">jboss.remoting:service=Connector,transport=socket</depends>
| <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
| </mbean>
|
| <mbean code="org.jboss.invocation.jrmp.server.JRMPInvokerHA"
| name="jboss:service=invoker,type=jrmpha">
| <attribute name="ServerAddress">${jboss.bind.address}</attribute>
| <attribute name="RMIObjectPort">4447</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <mbean code="org.jboss.invocation.pooled.server.PooledInvokerHA"
| name="jboss:service=invoker,type=pooledha">
| <attribute name="NumAcceptThreads">1</attribute>
| <attribute name="MaxPoolSize">300</attribute>
| <attribute name="ClientMaxPoolSize">300</attribute>
| <attribute name="SocketTimeout">60000</attribute>
| <attribute name="ServerBindAddress">${jboss.bind.address}</attribute>
| <attribute name="ServerBindPort">4448</attribute>
| <attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>
| <attribute name="ClientConnectPort">0</attribute>
| <attribute name="EnableTcpNoDelay">false</attribute>
| <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
|
| <mbean code="org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge"
| name="jboss.cache:service=InvalidationBridge,type=JavaGroups">
| <depends optional-attribute-name="ClusterPartition"
| proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition}</depends>
| <depends>jboss.cache:service=InvalidationManager</depends>
| <attribute name="InvalidationManager">jboss.cache:service=InvalidationManager</attribute>
| <attribute name="BridgeName">DefaultJGBridge</attribute>
| </mbean>
|
| </server>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260838#4260838
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260838
More information about the jboss-user
mailing list