[MXS-2710] max_connections problem Created: 2019-10-03 Updated: 2020-01-13 Resolved: 2020-01-08 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 2.3.11 |
| Fix Version/s: | 2.3.16, 2.4.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Smirnov | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
After few hours any connection attempts through maxscale finaly: config example:
MySQL server variables:
MySQL server status:
maxctrl show servers "connections": 0 (Statistics section)
|
| Comments |
| Comment by markus makela [ 2019-10-04 ] |
|
Does removing max_connections = 800 in maxscale.cnf remove the problem? |
| Comment by Sergey Smirnov [ 2019-10-07 ] |
|
Yes, after remove "max_connections" from maxscale working fine. |
| Comment by markus makela [ 2019-10-07 ] |
|
Does the output of SHOW PROCESSLIST keep growing when the parameter is not enabled? If yes, then it might be a client-side problem where the connections aren't closed properly. |
| Comment by Sergey Smirnov [ 2019-10-09 ] |
|
Explain it, please. I do not understand. On task description maxctrl output with "connections:0", direct connection working fine, why it is client side problem? My status variable mean what I have 193 connection maximum |
| Comment by markus makela [ 2019-10-09 ] |
|
So when you removed the max_connections = 800 from maxscale.cnf the value of Threads_connected was the same? If that's the case perhaps the connection count mechanism has a problem. |
| Comment by markus makela [ 2019-10-09 ] |
|
I think that this will be fixed with |
| Comment by Sergey Smirnov [ 2019-10-10 ] |
|
I am waiting release 2.3.13. Can't find release notes / branch on github / package in repository .. |
| Comment by markus makela [ 2019-10-10 ] |
|
It's not released yet. |
| Comment by Sergey Smirnov [ 2019-11-01 ] |
|
I reproduce the problem on 2.3.13. I use the config from the task description. The problem is reproduced in a few hours of waiting without load. |
| Comment by markus makela [ 2020-01-02 ] |
|
I managed to find a case where the connection count would only be decremented which caused integer underflow to occur. This in turn would eventually cause the whole instance to lock up once enough of these cases would occur. |