[MDEV-17159] Document what is included in core dumps Created: 2018-09-07  Updated: 2018-12-14  Resolved: 2018-12-14

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-10814 Feature request: Optionally exclude ... Closed

 Description   

After the implementation of MDEV-10814, core dumps no longer contain the server's whole process address space in 10.3.7 and above. We should probably document what specifically is excluded. It could probably go in the following section of the documentation:

https://mariadb.com/kb/en/library/enabling-core-dumps/#whats-included-in-core-dumps



 Comments   
Comment by Geoff Montee (Inactive) [ 2018-09-07 ]

It looks like danblack and marko worked on PR #364, so they might have input on this.

https://github.com/MariaDB/server/pull/364

Based on comments in the PR, it looks like the following might be excluded:

  • InnoDB buffer pool
  • InnoDB log buffer
  • Server recv buffer

And it looks like this exclusion might only apply to non-debug builds.

Comment by Geoff Montee (Inactive) [ 2018-09-07 ]

It looks like the query cache is also excluded due to PR #366.

https://github.com/MariaDB/server/pull/366

Comment by Daniel Black [ 2018-09-09 ]

Correct. worth noting its Linux only when the running kernel version is 3.4+.

Comment by Geoff Montee (Inactive) [ 2018-12-13 ]

I've added that info here:

https://mariadb.com/kb/en/library/enabling-core-dumps/#whats-included-in-core-dumps

Comment by Daniel Black [ 2018-12-13 ]

Looks good thanks. You saw the kernel notes I added on MDEV-10814 and MDEV-17985 that on specific unfixed kernel versions, can leave a warning in the log.

Comment by Geoff Montee (Inactive) [ 2018-12-14 ]

I added some info about that too. Thanks!

Comment by Geoff Montee (Inactive) [ 2018-12-14 ]

I'll go ahead and close this, but if I missed anything in the doc edits, feel free to let me know.

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