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?
Best Answer
It may be receiving a signal that doesn't dump core by default. See http://www.kernel.org/doc/man-pages/online/pages/man7/signal.7.html