File: /var/www/html/unitime/target/classes/solver-jgroups-tcp.xml
<?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-4.2.xsd">
<TCP
bind_addr="${jgroups.tcp.address:SITE_LOCAL}"
bind_port="${unitime.solver.port:7800}"
port_range="${jgroups.tcp.port_range:3}"
recv_buf_size="${jgroups.tcp.recv_buf_size:5M}"
send_buf_size="${jgroups.tcp.send_buf_size:640K}"
sock_conn_timeout="${jgroups.tcp.sock_conn_timeout:300}"
thread_pool.min_threads="${unitime.solver.thread_pool.min_threads:0}"
thread_pool.max_threads="${unitime.solver.thread_pool.max_threads:500}"
thread_pool.keep_alive_time="30000"
/>
<TCPPING initial_hosts="${unitime.solver.initial_hosts:localhost[7800]}" port_range="${jgroups.tcp.port_range:3}"/>
<!--
<org.unitime.commons.jgroups.UniTimeClusterDiscovery remove_all_data_on_view_change="true"/>
-->
<MERGE3
min_interval="10000" max_interval="30000"/>
<FD_SOCK
bind_addr="${jgroups.tcp.address:SITE_LOCAL}"
port_range="${jgroups.fd_sock.port_range:50}"
start_port="${jgroups.fd_sock.start_port:0}"
client_bind_port="${jgroups.fd_sock.client_bind_port:0}"
/>
<FD_ALL
timeout="${jgroups.fd.timeout:60000}"
interval="${jgroups.fd.interval:10000}"
timeout_check_interval="${jgroups.fd.timeout_check_interval:5000}"
/>
<VERIFY_SUSPECT timeout="${jgroups.verify_suspect.timeout:10000}" bind_addr="${jgroups.tcp.address:SITE_LOCAL}" />
<pbcast.NAKACK2/>
<UNICAST3/>
<pbcast.STABLE/>
<FRAG2/>
<pbcast.GMS join_timeout="3000"/>
<FORK/>
<pbcast.STATE_TRANSFER/>
</config>