<html><head><title>Re: [OpenSIPS-Users] Opensips 2.1 crash</title>
</head>
<body>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello, Liviu!<br>
<br>
Where does this option, i mean <span style=" font-family:'courier new';">"ulimit -c unlimited"<span style=" font-family:'times new roman';">, used? In opensipsctlrc "startoptions"?<br>
<br>
When i tried restart Opensips i just used opensipsctl stop and start.<br>
<br>
Without core analyze is there any suggestions about the problem (logs from opensipslog and syslog)?<br>
<br>
<span style=" font-family:'arial'; font-size: 10pt;"><i>-- <br>
</i></span></span></span></span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:d.putyato@ptl.ru">mailto:denis7979@ptl.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">Hi, Denis!<br>
Thank you for reporting the crash! Unfortunately, OpenSIPS was not able to finish writing the corefile, which was truncated, as gdb points out:<br>
/opensipscore/core ... <F4><E0><E9><EB><E0> >= 2158587904<br>
The size of a corefile is equal to PKG+SHM memory size. Provided that you have enough disk space (> 2 GB), could you add a "ulimit -c unlimited" command in your startup script, before launching OpenSIPS? We should be able to obtain a clear backtrace afterwards.<br>
Cheers,<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 22.08.2016 14:20, Denis wrote:<br>
</span><table>
<tr>
<td width=2 bgcolor= #3200ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">Opensips 2.1 crash Hello!<br>
<br>
Today i have a big problem with my opensips.<br>
I wanted to insert some modification to opensips.cfg but after restart opensips it has died and i was not able to resuscitate him at all.<br>
I have been saved only that i was planning to migrate from 2.1 to 2.2 and i already have opensips.cfg for 2.2 (db migration not spend much time).<br>
I.e. only with 2.2. i could restore the service!<br>
<br>
Changes that i made to configuration of 2.1:<br>
i added <br>
if (t_check_status("3[0-9][0-9]")) {<br>
t_reply("404","Not Found");<br>
exit;<br>
}<br>
to the failure route. That is all.<br>
<br>
Everything i could gather about the problem is here: </span><a style=" font-family:'times new roman'; font-size: 12pt;" href="https://cloud.mail.ru/public/4Hhj/TcotVSA7w">https://cloud.mail.ru/public/4Hhj/TcotVSA7w</a><span style=" font-family:'times new roman'; font-size: 12pt;">.<br>
In syslog, at each time when i tried to restart Opensips, i saw<br>
[ 140.300956] opensips[2688]: segfault at 0 ip 00007f69f92db144 sp 00007fff6328e7b8 error 4 in drouting.so[7f69f92d4000+46000]<br>
<br>
And one more. I have two servers for running Opensips (active/standby). On both servers i have the same Opensips version. And on both servers, while restarting Opensips, i saw<br>
[ 140.300956] opensips[2688]: segfault at 0 ip 00007f69f92db144 sp 00007fff6328e7b8 error 4 in drouting.so[7f69f92d4000+46000]<br>
<br>
Thank you for any help! I am afraid that there are some identical problems and with 2.2.<br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a> <br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<span style=" font-family:'courier new'; font-size: 12pt;">
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<span style=" font-family:'courier new'; font-size: 12pt;">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body></html>