KB Article #189922

why Integrator process does not produce a core dump when it terminates unexpectedly ?

Problem

-- getting a task terminated for an unknown reason

-- no core dump or hs_err files is generated in Integrator root folder

Resolution

* make sure ulimit -c output is large enough (set it to unlimited)

* check the presence of the core in Integrator, Integrator/sbin and in /var/lib/systemd/coredump

* run coredumpctl list to see the generated core dumps

* run coredumpctl info <pid> to get info about the respective core dump

* a possible reason of the absence of a core is that the signal sent to the terminated process is not a SEGV (a SIGKILL does not produce a core)

* Test the generation of a core in the same environment (but don't do it in a production environment !) :

1. stop B2Bi

2. run: ulimit -c unlimited

3. from the same shell above (where ulimit was ran) start B2Bi

4. generate a core dump: kill -SEGV <pid> where <pid> is a pid of a running B2Bi native process (ex r4edi, procengine...)

5. check the presence of the core dump