[MXS-2500] connection keep alive still closing and idle detected Created: 2019-05-22 Updated: 2019-12-09 Resolved: 2019-12-09 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Monitor |
| Affects Version/s: | 2.3.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stephane | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos 6.7 |
||
| Issue Links: |
|
||||||||
| Description |
|
Hello, On a read/write split service, I have this error log: on our mariadb server, the wait_timeout is set at 400 , if I change that value, the maxscale log error changes too. in the maxscale.conf, I have: connection_keepalive=40 under the service section. why do I have this lost connection to backend server, the connection_keepalive is supposed to keep it alive even if idle ? thanks in advance |
| Comments |
| Comment by markus makela [ 2019-05-22 ] |
|
Are the connections completely idle or do they simply perform SELECT statements for extended periods of time? The connection keepalive is intended to help with the case where the master is idle but the slaves are not. |
| Comment by Stephane [ 2019-05-22 ] |
|
connections are not idle, master and slave are both performing select . |
| Comment by markus makela [ 2019-05-22 ] |
|
Are you using a connection pool of some sort? If you are, it could be that the connection pool keeps the connections in it for longer than 400 seconds. |
| Comment by Stephane [ 2019-05-22 ] |
|
no, only 'simple' php / mysqi application that connects to the maxscale |