My CPU intensive process terminates before with no coredump

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

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct