Advertisement
Guest User

RELAY2 global.xml

a guest
Dec 10th, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.50 KB | None | 0 0
  1. <!--
  2.    TCP based stack, with flow control and message bundling. This is usually used when IP
  3.    multicasting cannot be used in a network, e.g. because it is disabled (routers discard multicast).
  4.    Note that TCP.bind_addr and TCPPING.initial_hosts should be set, possibly via system properties, e.g.
  5.    -Djgroups.bind_addr=192.168.5.2 and -Djgroups.tcpping.initial_hosts=192.168.5.2[7800]
  6.    author: Bela Ban
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9.        xmlns="urn:org:jgroups"
  10.        xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd">
  11.     <TCP bind_port="7800"
  12.         recv_buf_size="${tcp.recv_buf_size:5M}"
  13.         send_buf_size="${tcp.send_buf_size:5M}"
  14.         max_bundle_size="64K"
  15.         max_bundle_timeout="30"
  16.         use_send_queues="true"
  17.         sock_conn_timeout="300"
  18.  
  19.         timer_type="new3"
  20.         timer.min_threads="4"
  21.         timer.max_threads="10"
  22.         timer.keep_alive_time="3000"
  23.         timer.queue_max_size="500"
  24.        
  25.         thread_pool.enabled="true"
  26.         thread_pool.min_threads="2"
  27.         thread_pool.max_threads="8"
  28.         thread_pool.keep_alive_time="5000"
  29.         thread_pool.queue_enabled="true"
  30.         thread_pool.queue_max_size="10000"
  31.         thread_pool.rejection_policy="discard"
  32.  
  33.         oob_thread_pool.enabled="true"
  34.         oob_thread_pool.min_threads="1"
  35.         oob_thread_pool.max_threads="8"
  36.         oob_thread_pool.keep_alive_time="5000"
  37.         oob_thread_pool.queue_enabled="false"
  38.         oob_thread_pool.queue_max_size="100"
  39.         oob_thread_pool.rejection_policy="discard"/>
  40.                          
  41.     <TCPPING async_discovery="true"
  42.             initial_hosts="${jgroups.tcpping.initial_hosts:localhost[7800],localhost[7801]}"
  43.             port_range="2"/>
  44.     <MERGE3  min_interval="10000"
  45.             max_interval="30000"/>
  46.     <FD_SOCK/>
  47.     <FD timeout="3000" max_tries="3" />
  48.     <VERIFY_SUSPECT timeout="1500"  />
  49.     <BARRIER />
  50.     <pbcast.NAKACK2 use_mcast_xmit="false"
  51.                   discard_delivered_msgs="true"/>
  52.     <UNICAST3 />
  53.     <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
  54.                   max_bytes="4M"/>
  55.     <pbcast.GMS print_local_addr="true" join_timeout="2000"
  56.                view_bundling="true"/>
  57.     <MFC max_credits="2M"
  58.         min_threshold="0.4"/>
  59.     <FRAG2 frag_size="60K"  />
  60.     <!--RSVP resend_interval="2000" timeout="10000"/-->
  61.     <pbcast.STATE_TRANSFER/>
  62. </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement