[MDEV-13126] Create documentation to dynamically create core dumps Created: 2017-06-19  Updated: 2021-12-06

Status: Open
Project: MariaDB Server
Component/s: Documentation
Fix Version/s: None

Type: Task Priority: Major
Reporter: Michaël de groot Assignee: Ian Gilfillan
Resolution: Unresolved Votes: 0
Labels: None


 Description   

In CentOS7 there is a command prlimit available to do this:
prlimit --core=unlimited: --pid `pidof mysqld`
In CentOS6 it is possible to do this manually:
echo -n "Max core file size=unlimited:unlimited" > /proc/`pidof mysqld`/limits

The last method is only possible on 2.6 kernels and not possibe on 3.x and onwards.



 Comments   
Comment by Michaël de groot [ 2017-07-13 ]

This change is now official per the 10.2.7 release notes!

Please proceed to add it to the documentation.

Comment by Daniel Black [ 2017-07-13 ]

This documentation can also tie nicely into the debug symbols packages in MDEV-4646 and the corresponding Debian debug packages.

Comment by Daniel Black [ 2018-03-22 ]

And the buf_madvise_do_dump function (commit: https://github.com/MariaDB/server/pull/364/commits/b600f30786816e33c1706dd36cdabf21034dc781)

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