[MXS-2083] Maxadmin list servers gives a negative for the number of connections Created: 2018-10-07  Updated: 2022-08-09  Resolved: 2019-05-28

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin
Affects Version/s: 2.1.15
Fix Version/s: 2.3.8

Type: Bug Priority: Major
Reporter: David Compton Assignee: markus makela
Resolution: Duplicate Votes: 0
Labels: maxadmin
Environment:

Centos 7



 Description   

When executing the maxadmin command it shows a negative value after some time of running the maxscale(2 hours or more).

[root@SAN1 ~]# maxadmin list servers
Servers.
--------------------------------------------------------------------
Server | Address | Port | Connections | Status
--------------------------------------------------------------------
server1 | 10.0.0.215 | 3306 | -3 | Master, Running
server2 | 10.0.0.212 | 3306 | -3 | Slave, Running
server3 | 10.0.0.4 | 3306 | -3 | Slave, Running
server4 | 10.0.0.20 | 1975 | -3 | Slave, Running
--------------------------------------------------------------------

Restarting maxscale will resolve this issue.



 Comments   
Comment by markus makela [ 2018-10-08 ]

Can you try to reproduce this with the latest 2.2 version?

Comment by David Compton [ 2018-10-08 ]

I think it may be to do with cpu count. It is on a HP machine with 32 CPU and it is showing over 130% use at less than 1k transactions per second. I moved it to an smaller 12 CPU machine and it's running at a more normal 6-10%. I'll install the older version tomorrow and let you know.

Comment by markus makela [ 2019-05-28 ]

Turns out this was a bug.

Comment by Valerii Kravchuk [ 2022-08-09 ]

If this is a duplicate, what is the original bug?

Generated at Thu Feb 08 04:11:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.