[jboss-user] [JBoss Cache: Core Edition] - Re: Using TCP, Unable to reconnect. Don't know why?
nachiket_patel
do-not-reply at jboss.com
Mon Dec 15 04:40:08 EST 2008
Hello,
Thanks for help, now it is working.
I am using given configuration for TCP.
<TCP start_port="7800"
discard_incompatible_packets="true"
max_bundle_size="64000"
max_bundle_timeout="30"
use_incoming_packet_handler="true"
enable_bundling="false"
enable_diagnostics="true"
use_concurrent_stack="true"
thread_naming_pattern="pl"
thread_pool.enabled="true"
thread_pool.min_threads="2"
thread_pool.max_threads="8"
thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true"
thread_pool.queue_max_size="10000"
thread_pool.rejection_policy="discard"
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1"
oob_thread_pool.max_threads="8"
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"/>
<!--<TCPPING timeout="3000"
initial_hosts="${jgroups.tcpping.initial_hosts:150.0.149.105[7800]}"
port_range="1"
num_initial_members="1"/> -->
<!--<TCPGOSSIP initial_hosts="150.0.149.105[5555]" gossip_refresh_rate="10000"
num_initial_members="1" />-->
<PING gossip_host="150.0.149.105" gossip_port="5555" gossip_refresh="5000"
timeout="2000" num_initial_members="1"/>
<MERGE2 max_interval="30000" min_interval="10000"/>
<FD_SOCK num_tries="3" suspect_msg_interval="3000"/>
<FD timeout="3000" max_tries="4" shun="true"/>
<FD_ALL/>
<VERIFY_SUSPECT timeout="1500" />
<pbcast.NAKACK use_stats_for_retransmission="false"
exponential_backoff="150"
use_mcast_xmit="true" gc_lag="0"
retransmit_timeout="50,300,600,1200"
discard_delivered_msgs="true"/>
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="40000"
max_bytes="1000000"/>
<VIEW_SYNC avg_send_interval="60000" />
<pbcast.GMS print_local_addr="true" join_timeout="3000"
shun="false" view_bundling="true" view_ack_collection_timeout="2000"/>
<FC max_credits="500000" min_threshold="0.20"/>
<FRAG2 frag_size="60000" />
<!--pbcast.STREAMING_STATE_TRANSFER /-->
<pbcast.STATE_TRANSFER />
<!-- pbcast.FLUSH /-->
<pbcast.FLUSH timeout="0"/>
----------------------------------------------------
But, when i change cached object in one instance of app when network is disconnected, and when network gets enabled other instances does not get sync. But whatever manipulation i do afterward on cached objects gets updated properly in all instances. ??? what i am missing here.????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196487#4196487
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196487
More information about the jboss-user
mailing list