[MXS-4823] error Write to Backend DCB Created: 2023-10-20 Updated: 2023-12-04 |
|
| Status: | Open |
| Project: | MariaDB MaxScale |
| Component/s: | None |
| Affects Version/s: | 2.5.28 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Bjoern | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian, Docker Container |
||
| Attachments: |
|
| Description |
|
We sometimes get the following error on our maxscale proxy: Could maybe anyone help me to understand this error? |
| Comments |
| Comment by markus makela [ 2023-10-20 ] | |
|
Error 104 is:
This means that the other end of the connection, the database server in this case, closed the connection when MaxScale was attempting to write to it. Are there any errors in the database error logs? What version of MariaDB is this using? If possible, please also attach your maxscale.cnf with all sensitive information removed (e.g passwords, IP addresses) | |
| Comment by Bjoern [ 2023-10-20 ] | |
|
Hi Markus, thank you very much for showing interest. | |
| Comment by markus makela [ 2023-10-23 ] | |
|
Are there any other types of errors in the MaxScale log? Anything like timeouts from monitors or other network errors? | |
| Comment by Bjoern [ 2023-10-23 ] | |
|
No. | |
| Comment by Bjoern [ 2023-10-24 ] | |
|
I forgot to mention that we have this issue on two completely seperate infrastructures. So network issues are in my opinion out of the picture. | |
| Comment by markus makela [ 2023-10-24 ] | |
|
If you can upgrade to MaxScale 6, you can use session_trace=100 and session_trace_match=Connection reset by peer to enable trace logging for sessions that generate that error. The trace logging will write the last 100 entries (configurable) to the log whenever the regular expression in session_trace_match matches one of the log messages when the session is stopping. | |
| Comment by Bjoern [ 2023-10-24 ] | |
|
Thank you, I can try that. | |
| Comment by markus makela [ 2023-12-04 ] | |
|
Sorry for the late replay, I was on vacation. It's worth trying out if increasing wait_timeout helps with this error. It would allow us to rule it out as a cause if it doesn't change the amount of errors. |