Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Folks, my server written in C++ periodically crashes but produces no core dump at all.

Core dumps are produced for sure: "ulimit -c" and "/proc/sys/kernel/core_pattern" are set properly.

The weird thing is that I tried to kill the server manually for several times using "kill -s SIGSEGV $pid" and the cores were produced all times.

Is there any explanation and solution for such a strange behavior?

share|improve this question

It may be receiving a signal that doesn't dump core by default. See

share|improve this answer
Well, in my signal handler I only allow USR1 and USR2 not to produce the core file, all other signals produce the core for sure. Furthermore all signals are logged - there are no signals at all when the server crashes... – pachanga Aug 26 '10 at 20:05
up vote 0 down vote accepted

It looks like my application is killed by I have to investigate why this happens :(

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.