Created
April 24, 2020 01:39
-
-
Save nidhi-ag/1899e21bc8423b202c3e5adc45db5da5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are the 4 changes required to generate core dump | |
1. Run docker container in privileged mode | |
2. Add CoreDumpDirectory /tmp in apache2.conf | |
3. Set core pattern | |
echo '/tmp/core.%h.%e.%t' > /proc/sys/kernel/core_pattern | |
4. Set core files to unlimited | |
ulimit -c unlimited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment