My CPU intensive process terminates before with no coredump
Linode
Linode Staff
I started it several times but after two hours it dies. I set ulimit -Sc 3000
to allow core dumps and tested it successfully, but when the program is terminated I cannot find it. Is there any log to check it? I'm running Ubuntu 16.04
1 Reply
rmoyer
Linode Staff
I'd suggest double-checking that your ulimit is not set to 0, or that could be a reason why you are not finding the dump.
ulimit -c
Your dump should be in the location specified by:
sysctl kernel.core_pattern
Since you are running Ubuntu, it looks like dumps are handled by Apport located in /var/crash. You may want to disable this service to see if that is interfering with your dump. The AskUbuntu question has some excellent resources for this.
If Apport was running at the time of your dump, its default log location would be /var/log/apport.log