forked from mariadb-corporation/MaxScale
-
Notifications
You must be signed in to change notification settings - Fork 1
/
idle_pool_max_conns.cnf
59 lines (51 loc) · 1016 Bytes
/
idle_pool_max_conns.cnf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[maxscale]
threads=1
log_warning=1
[MySQL-Monitor]
type=monitor
module=mysqlmon
servers=###server_line###
user=maxskysql
password=skysql
[RW-Split-Router]
type=service
router=readwritesplit
servers=###server_line###
user=maxskysql
password=skysql
idle_session_pool_time=500ms
lazy_connect=1
max_slave_connections=1
[RW-Split-Listener]
type=listener
service=RW-Split-Router
protocol=MySQLClient
port=4006
[server1]
type=server
address=###node_server_IP_1###
port=###node_server_port_1###
persistpoolmax=100
persistmaxtime=1000s
max_routing_connections=100
[server2]
type=server
address=###node_server_IP_2###
port=###node_server_port_2###
persistpoolmax=100
persistmaxtime=1000s
max_routing_connections=100
[server3]
type=server
address=###node_server_IP_3###
port=###node_server_port_3###
persistpoolmax=100
persistmaxtime=1000s
max_routing_connections=100
[server4]
type=server
address=###node_server_IP_4###
port=###node_server_port_4###
persistpoolmax=100
persistmaxtime=1000s
max_routing_connections=100