-
Notifications
You must be signed in to change notification settings - Fork 338
Obtaining a core file
Johan Wikman edited this page Oct 7, 2015
·
12 revisions
In case of a crash, a core file may make it easier for us to investigate the issue and provide a fix. However, typically Linux systems are configured so that core files are not generated by default.
In case the crash is easily repeatable, please do as follows to obtain a core file that can be attached to a bug-report (https://mariadb.atlassian.net/projects/MXS).
-
Turn yourself into the user maxscale
user@host$ sudo su - maxscale -s /bin/bash [sudo] password for user: No directory, logging in with HOME=/ maxscale@host:/$
The user maxscale does not have a login shell, which is why it must be specified explicitly.
-
Enable core file.
maxscale@host$ ulimit -c unlimited maxscale@hosr$ ulimit -c unlimited
Blah