Don't like ads? PRO users don't see any ads ;-)
Guest

crewweb-jgroups-stack.xml

By: a guest on Apr 30th, 2012  |  syntax: XML  |  size: 2.45 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!--
  2.  Default stack using IP multicasting. It is similar to the "udp"
  3.  stack in stacks.xml, but doesn't use streaming state transfer and flushing
  4.  author: Bela Ban
  5. -->
  6.  
  7. <config>
  8.     <UDP
  9.         mcast_addr="228.10.9.8"
  10.         mcast_port="4455"
  11.         tos="8"
  12.         ucast_recv_buf_size="20000000"
  13.         ucast_send_buf_size="640000"
  14.         mcast_recv_buf_size="25000000"
  15.         mcast_send_buf_size="640000"
  16.         loopback="false"
  17.         discard_incompatible_packets="true"
  18.         max_bundle_size="64000"
  19.         max_bundle_timeout="30"
  20.         use_incoming_packet_handler="true"
  21.         ip_ttl="2"
  22.         enable_bundling="true"
  23.         enable_diagnostics="true"
  24.         thread_naming_pattern="cl"
  25.  
  26.         use_concurrent_stack="true"
  27.  
  28.         thread_pool.enabled="true"
  29.         thread_pool.min_threads="2"
  30.         thread_pool.max_threads="8"
  31.         thread_pool.keep_alive_time="5000"
  32.         thread_pool.queue_enabled="true"
  33.         thread_pool.queue_max_size="1000"
  34.         thread_pool.rejection_policy="discard"
  35.  
  36.         oob_thread_pool.enabled="true"
  37.         oob_thread_pool.min_threads="1"
  38.         oob_thread_pool.max_threads="8"
  39.         oob_thread_pool.keep_alive_time="5000"
  40.         oob_thread_pool.queue_enabled="false"
  41.         oob_thread_pool.queue_max_size="100"
  42.         oob_thread_pool.rejection_policy="Run"/>
  43.  
  44.     <PING timeout="2000"
  45.            num_initial_members="3"/>
  46.     <MERGE2 max_interval="30000"
  47.            min_interval="10000"/>
  48.     <FD_SOCK/>
  49.     <FD timeout="10000" max_tries="5"   shun="true"/>
  50.     <VERIFY_SUSPECT timeout="1500"  />
  51.     <BARRIER />
  52.     <pbcast.NAKACK use_stats_for_retransmission="false"
  53.                   exponential_backoff="150"
  54.                   use_mcast_xmit="true" gc_lag="0"
  55.                   retransmit_timeout="50,300,600,1200,3000"
  56.                   discard_delivered_msgs="true"/>
  57.     <UNICAST timeout="300,600,1200,3000"/>
  58.     <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  59.                   max_bytes="1000000"/>
  60.     <VIEW_SYNC avg_send_interval="60000"   />
  61.     <pbcast.GMS print_local_addr="true" join_timeout="3000"
  62.                shun="false"
  63.                view_bundling="true"/>
  64.     <FC max_credits="500000"
  65.                    min_threshold="0.20"/>
  66.     <FRAG2 frag_size="60000"  />
  67.     <!--pbcast.STREAMING_STATE_TRANSFER /-->
  68.     <pbcast.STATE_TRANSFER  />
  69.     <!-- pbcast.FLUSH  /-->
  70. </config>