Core file can be quite helpful to troubleshoot MySQL Crashes yet
it is not always easy to get, especially with recent Linux
distributions which have security features to prevent core files
to be dumped by
setuid processes (and MySQL Server is most commonly ran changing
user from “root” to “mysql”). Before you embark on enabling core
file you should consider two things – disk space and restart
time. The core file will dump all MySQL Server memory content
including buffer pool which can be tens on even hundreds GB of
disk space. It can also take very long time to write this amount
of data to the disk. If you are using “pid” with core files,
which you probably should, as getting different samples often
help developers to find what is wrong easier, you may be looking
at many times the amount of memory MySQL consumes worth of disk
space.
You have to do couple of changes to enable core files. First you need …
[Read more]