Hi, Denis!

It's not OpenSIPS making the core, it's the Operating System. And the answer is "yes", if OpenSIPS crashes again, the "old core" will be replaced by a new one. One idea is to configure the Operating System to write the corefile using the pid of the process in the pattern. To do that, run:
# echo core.%p > /proc/sys/kernel/core_pattern

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 12/23/2016 11:35 AM, Denis wrote:
One question. If in the destination directory of the core file will be located another "core" file, what will be? Would "old core" file be replaced by a new one, or Opensips makes another core file with a fresh data?
Thank you.
--
С уважением, Денис.
Best regards, Denis
23.12.2016, 12:23, "Răzvan Crainea" <raz...@opensips.org>:
Please update to the latest 2.2.2. If you still have problems, try to make sure opensips can generate a corefile[1].

[1] http://www.opensips.org/Documentation/TroubleShooting-Crash

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com <http://www.opensips-solutions.com/>
On 12/23/2016 11:16 AM, Denis wrote:
Hello!
Server:: OpenSIPS (2.2.1 (x86_64/linux))
Today i had a crash of Opensips.
Everything that i could collect is here https://yadi.sk/i/dyNnXpBr34YJQ3 Unfortunately, i could not find any fresh core file, despite of the fact that Opensips starts with -w /opensipscore option.
In opensipscore i found only core file at 29 Nov.
Thank you for any help.
--
С уважением, Денис.
Best regards, Denis
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
,

_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to