|
I'm running maxscale 2.0.2 on ubuntu xenial. If I run 10 times list servers command using maxadmin, maxscale crashes with this error
2016-11-30 13:12:22 error : Fatal: MaxScale 2.0.2 received fatal signal 11. Attempting backtrace.
|
2016-11-30 13:12:22 error : Commit ID: 14326774065fd211a79e5935414d149fb8a17660 System name: Linux Release string: Ubuntu 16.04.1 LTS
|
2016-11-30 13:12:22 error : /usr/bin/maxscale() [0x403ca7]
|
2016-11-30 13:12:22 error : /lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f55049293d0]
|
2016-11-30 13:12:22 error : /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(dListClients+0xd6) [0x7f5504dd4298]
|
2016-11-30 13:12:22 error : /usr/lib/x86_64-linux-gnu/maxscale/libcli.so(execute_cmd+0x97a) [0x7f54fe3aaf23]
|
2016-11-30 13:12:22 error : /usr/lib/x86_64-linux-gnu/maxscale/libcli.so(+0x417b) [0x7f54fe3aa17b]
|
2016-11-30 13:12:22 error : /usr/lib/x86_64-linux-gnu/maxscale/libmaxscaled.so(+0x1828) [0x7f54fcea3828]
|
2016-11-30 13:12:22 error : /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x4a026) [0x7f5504de8026]
|
2016-11-30 13:12:22 error : /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(poll_waitevents+0x6c1) [0x7f5504de77c7]
|
2016-11-30 13:12:22 error : /usr/bin/maxscale(worker_thread_main+0x2a) [0x404d8f]
|
2016-11-30 13:12:22 error : /lib/x86_64-linux-gnu/libpthread.so.0(+0x76fa) [0x7f550491f6fa]
|
2016-11-30 13:12:22 error : /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f5504211b5d]
|
my configuration file
|
[maxscale]
|
threads=8
|
auth_connect_timeout=3
|
auth_read_timeout=3
|
|
|
[Galera Monitor]
|
type=monitor
|
module=galeramon
|
servers=server1,server2
|
user=maxscale
|
passwd=HIDDEN
|
monitor_interval=30
|
disable_master_failback=1
|
available_when_donor=1
|
backend_read_timeout=5
|
|
[RW Split Router]
|
type=service
|
router=readwritesplit
|
max_slave_connections=50%
|
servers=server1,server2
|
user=maxscale
|
passwd=HIDDEN
|
use_sql_variables_in=master
|
router_options=master_accept_reads=true,max_sescmd_history=1500
|
|
|
|
[CLI]
|
type=service
|
router=cli
|
|
[CLI Listener]
|
type=listener
|
service=CLI
|
protocol=maxscaled
|
port=6603
|
|
|
[RW Split Listener]
|
type=listener
|
service=RW Split Router
|
protocol=MySQLClient
|
port=4009
|
#socket=/var/lib/maxscale/readconn.sock
|
|
|
[server1]
|
type=server
|
address=10.102.0.17
|
port=3307
|
protocol=MySQLBackend
|
|
[server2]
|
type=server
|
address=10.102.0.18
|
port=3307
|
protocol=MySQLBackend
|
and my maxadmin command
maxadmin -pHIDDEN list clients
|
also I tried to use CLI via unix socket with this configuration
|
[maxscale]
|
threads=8
|
auth_connect_timeout=3
|
auth_read_timeout=3
|
|
|
[Galera Monitor]
|
type=monitor
|
module=galeramon
|
servers=server1,server2
|
user=maxscale
|
passwd=HIDDEN
|
monitor_interval=30
|
disable_master_failback=1
|
available_when_donor=1
|
backend_read_timeout=5
|
|
[RW Split Router]
|
type=service
|
router=readwritesplit
|
max_slave_connections=50%
|
servers=server1,server2
|
user=maxscale
|
passwd=HIDDEN
|
use_sql_variables_in=master
|
router_options=master_accept_reads=true,max_sescmd_history=1500
|
|
|
|
[CLI]
|
type=service
|
router=cli
|
|
[CLI Unix Listener]
|
type=listener
|
service=CLI
|
protocol=maxscaled
|
socket=default
|
|
|
|
[RW Split Listener]
|
type=listener
|
service=RW Split Router
|
protocol=MySQLClient
|
port=4009
|
#socket=/var/lib/maxscale/readconn.sock
|
|
|
[server1]
|
type=server
|
address=10.102.0.17
|
port=3307
|
protocol=MySQLBackend
|
|
[server2]
|
type=server
|
address=10.102.0.18
|
port=3307
|
protocol=MySQLBackend
|
and this maxadmin command
but I see same behaviour.
I also had same problem on maxscale 2.0.1 and ubuntu:trusty,
|