Permalink
Fetching contributors…
Cannot retrieve contributors at this time
97 lines (92 sloc) 4.11 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*
-->
<config xmlns="urn:org:jgroups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.3.xsd">
<TCP
bind_addr="${jgroups.tcp.address:127.0.0.1}"
bind_port="${unitime.hibernate.port:7833}"
port_range="30"
recv_buf_size="20m"
send_buf_size="640k"
max_bundle_size="64k"
use_send_queues="true"
enable_diagnostics="false"
thread_naming_pattern="pl"
internal_thread_pool.enabled="true"
internal_thread_pool.min_threads="4"
internal_thread_pool.max_threads="8"
internal_thread_pool.queue_enabled="true"
internal_thread_pool.queue_max_size="500"
internal_thread_pool.keep_alive_time="30000"
internal_thread_pool.rejection_policy="discard"
thread_pool.enabled="true"
thread_pool.min_threads="2"
thread_pool.max_threads="${unitime.hibernate.thread_pool.max_threads:50}"
thread_pool.keep_alive_time="60000"
thread_pool.queue_enabled="true"
thread_pool.queue_max_size="100"
thread_pool.rejection_policy="Discard"
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="2"
oob_thread_pool.max_threads="${unitime.hibernate.oob_thread_pool.max_threads:50}"
oob_thread_pool.keep_alive_time="60000"
oob_thread_pool.queue_enabled="false"
oob_thread_pool.queue_max_size="100"
oob_thread_pool.rejection_policy="Discard"
/>
<!--
<MPING
bind_addr="${jgroups.bind_addr:127.0.0.1}" break_on_coord_rsp="true"
mcast_addr="${jgroups.mping.mcast_addr:228.2.4.6}"
mcast_port="${unitime.hibernate.mping_port:43366}"
ip_ttl="${jgroups.udp.ip_ttl:2}"
num_initial_members="3"/>
-->
<TCPPING initial_hosts="${unitime.hibernate.initial_hosts:localhost[7833]}" port_range="3"/>
<!--
<org.unitime.commons.jgroups.UniTimeClusterDiscovery initial_hosts="${unitime.hibernate.initial_hosts:127.0.0.1[7833]}" port_range="3" />
-->
<MERGE2 max_interval="30000" min_interval="10000"/>
<FD_SOCK bind_addr="${jgroups.tcp.address:127.0.0.1}"/>
<FD timeout="5000" max_tries="5" />
<VERIFY_SUSPECT timeout="2500" bind_addr="${jgroups.tcp.address:127.0.0.1}" />
<pbcast.NAKACK2 use_mcast_xmit="false"
xmit_interval="1000"
xmit_table_num_rows="100"
xmit_table_msgs_per_row="10000"
xmit_table_max_compaction_time="10000"
max_msg_batch_size="100"/>
<UNICAST2 stable_interval="5000"
xmit_interval="500"
max_bytes="1m"
xmit_table_num_rows="20"
xmit_table_msgs_per_row="10000"
xmit_table_max_compaction_time="10000"
max_msg_batch_size="100"
conn_expiry_timeout="0"/>
<pbcast.STABLE stability_delay="500" desired_avg_gossip="5000" max_bytes="1m"/>
<pbcast.GMS print_local_addr="false" join_timeout="3000" view_bundling="true"/>
<tom.TOA/> <!-- the TOA is only needed for total order transactions-->
<MFC max_credits="2M" min_threshold="0.4"/>
<FRAG2 frag_size="60000"/>
<RSVP timeout="60000" resend_interval="500" ack_on_delivery="false" />
</config>