[OpenSIPS-Users] Fwd: opensips is restarting after call is finished

Liviu Chircu liviu at opensips.org
Fri Dec 8 14:56:18 UTC 2023


On 08.12.2023 15:17, Bogdan-Andrei Iancu wrote:
> Maybe you have some apport service running on the machine, moving the 
> core file. 

Hello,

I second this too, as it's the 90% main cause for corefiles not 
generating on my environment.  To confirm, just do:

$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E

... if the output includes "apport", it means the "apport" suite is 
handling all corefile writing, which can be good or bad, depending on 
your settings.

Still, to avoid all of this and simply have the OS write any corefile 
into the dying process's working directory, just run the following under 
"root" user:

$ echo "core.%p" > /proc/sys/kernel/core_pattern

Best regards,

-- 
Liviu Chircu




More information about the Users mailing list