Advertisement
dig090

Jgroups Stack Possible Unicast Issues in EC2

Feb 5th, 2013
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.97 KB | None | 0 0
  1. <config xmlns="urn:org:jgroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.     xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.1.xsd">
  3.     <UDP
  4.         ip_mcast="false"
  5.         tos="8"
  6.         ucast_recv_buf_size="128k" ucast_send_buf_size="128k"
  7.         ip_ttl="${jgroups.udp.ip_ttl:128}"
  8.  
  9.         loopback="true"
  10.         discard_incompatible_packets="true"
  11.  
  12.         max_bundle_size="64k"
  13.         max_bundle_timeout="30"
  14.         enable_bundling="true"
  15.        
  16.         enable_diagnostics="false"
  17.         thread_naming_pattern="cl"
  18.  
  19.         timer_type="new"
  20.         timer.min_threads="4" timer.max_threads="10"
  21.         timer.keep_alive_time="3000"
  22.         timer.queue_max_size="500"
  23.        
  24.         thread_pool.enabled="true"
  25.         thread_pool.min_threads="2" thread_pool.max_threads="8"
  26.         thread_pool.keep_alive_time="60000"
  27.         thread_pool.queue_enabled="true"
  28.         thread_pool.queue_max_size="100"
  29.         thread_pool.rejection_policy="discard"
  30.        
  31.         oob_thread_pool.enabled="true"
  32.         oob_thread_pool.min_threads="2" oob_thread_pool.max_threads="8"
  33.         oob_thread_pool.keep_alive_time="60000"
  34.         oob_thread_pool.queue_enabled="false"
  35.         oob_thread_pool.queue_max_size="100"
  36.         oob_thread_pool.rejection_policy="discard"
  37.         />
  38.         <!-- this is an internal protocol that uses AWS api calls to discover hosts -->
  39.     <EC2_PING />
  40.     <MERGE2 min_interval="10000" max_interval="30000" />
  41.     <FD_SOCK start_port="8000" />
  42.     <FD_ALL timeout="10000" />
  43.     <VERIFY_SUSPECT timeout="10000" />
  44.     <pbcast.NAKACK use_mcast_xmit="false"
  45.               retransmit_timeout="100,300,600,1200,2400,4800" discard_delivered_msgs="false" />
  46.     <UNICAST />
  47.     <pbcast.STABLE stability_delay="500" desired_avg_gossip="5000" max_bytes="1m" />
  48.     <pbcast.GMS print_local_addr="false" join_timeout="3000" view_bundling="true" />
  49.     <UFC max_credits="200k" min_threshold="0.2" />
  50.     <MFC max_credits="200k" min_threshold="0.2" />
  51.         <!-- ultimately this was the problem moving this down to 16k fixed the issue (32k may be fine) -->
  52.     <FRAG2 frag_size="60k" />
  53.     <COUNTER />
  54.     <PEER_LOCK />
  55. </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement