[MDEV-23629] Random MariaDB Buffer Overflows Created: 2020-08-30 Updated: 2020-08-31 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.1.45 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lewis Cawte | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu Server 16.04.7 |
||
| Attachments: |
|
| Description |
|
We've had a couple of these in the past, can't seem to find any pattern or cause to them so I'm now seeking help. Attached is the syslog entries (cut after MariaDB goes into recovery) from today's crash - hoping someone can help dial in what the issue is. It's a reasonable sized server with about 10k databases totalling about 450GB in files, so the restarts after these take a few hours. |
| Comments |
| Comment by Elena Stepanova [ 2020-08-31 ] | ||||
|
We have a few of similar issues - MDEV-23127, MDEV-23126, MDEV-23256. On a separate but possibly (although unlikely) related note – what is it exactly that takes several hours upon restart? Could you please provide the full error log of the startup processes – from the moment the server begins startup and up to when it is "ready to accept connections"? | ||||
| Comment by Lewis Cawte [ 2020-08-31 ] | ||||
|
FLUSH QUERY CACHE isn't run manually, and I'm fairly sure its not run by any code (although, at the time of writing, the grep has been running through our entire codebase to double check and has yet to finish)
It gets a bit messy after that. I'll pull the rest of the logs for you later, I just need to extract them from the mess that is syslog. | ||||
| Comment by Lewis Cawte [ 2020-08-31 ] | ||||
|
crash-mysql-30Aug | ||||
| Comment by Elena Stepanova [ 2020-08-31 ] | ||||
|
This one looks different, more InnoDB-ish. And the 2-hour crash recovery also happens in InnoDB. |