<div dir="ltr">Hello Everyone,<br><div><br></div><div>Still struggling enabling core. I did enable the option, but i not sure where to configure the folder to drop the cores.</div><div><br></div><div>The install is from debian sources and then apt -y install opensips opensips-cli. </div><div><br></div><div>-------------------</div><div>more /etc/default/opensips<br>#<br># OpenSIPS startup options<br>#<br><br># Set to yes to enable opensips, once configured properly.<br>RUN_OPENSIPS=no<br><br># User to run as<br>USER=opensips<br><br># Group to run as<br>GROUP=opensips<br><br># Amount of shared memory to allocate for the running OpenSIPS server (in Mb)<br>S_MEMORY=2048<br><br># Amount of pkg memory to allocate for the running OpenSIPS server (in Mb)<br>P_MEMORY=512<br><br># Enable the server to leave a core file when it crashes.<br># Set this to 'yes' to enable OpenSIPS to leave a core file when it crashes<br># or 'no' to disable this feature. This option is case sensitive and only<br># accepts 'yes' and 'no' and only in lowercase letters.<br># On some systems (e.g. Ubuntu 6.10, Debian 4.0) it is necessary to specify<br># a directory for the core files to get a dump. Look into the opensips<br># init file for an example configuration.<br>DUMP_CORE=yes<br><br># Any additional OpenSIPS options<br>OPTIONS=""<br></div><div>--------------------------------------</div><div><br></div><div><br></div><div>Any hint would be appreciated to track this issue (:core:handle_sigs: child process 11907 exited by a signal 11).</div><div><br></div><div><br></div><div><br></div><div>Thanks you</div><div>Mario San Vicente</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 12, 2021 at 5:27 PM Mario San Vicente <<a href="mailto:mrsanvicente@gmail.com">mrsanvicente@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Ovidiu, Will work on it.<div><br></div><div>regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 12, 2021 at 5:07 PM Ovidiu Sas <<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Take a look here and follow the guide:</div><div dir="auto"><div><a href="https://www.opensips.org/Documentation/TroubleShooting-Crash" target="_blank">https://www.opensips.org/Documentation/TroubleShooting-Crash</a></div><br></div><div dir="auto">Regards,</div><div dir="auto">Ovidiu Sas </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 12, 2021 at 17:03 Mario San Vicente <<a href="mailto:mrsanvicente@gmail.com" target="_blank">mrsanvicente@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello Everyone,<div><br></div><div>Thanks for reading. Currently i am testing an opensips running on debian 10.10, installed from deb <a href="https://apt.opensips.org" target="_blank">https://apt.opensips.org</a> $(lsb_release -sc) 3.0-releases</div><div><br></div><div>version: opensips 3.1.5 (x86_64/linux)<br>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll, sigio_rt, select.<br>main.c compiled on with gcc 8<br></div><div><div><br></div><div><br></div><div>I am sending some calls for transcoding which is working good, until opensips crashes ( which is constantly):</div><div><br></div><div><br></div><div><br></div><div>CRITICAL:core:sig_usr: segfault in process pid: 11907, id: 4<br>INFO:core:handle_sigs: child process 11907 exited by a signal 11<br>INFO:core:handle_sigs: core was not generated<br>INFO:core:handle_sigs: terminating due to SIGCHLD </div><div>INFO:core:sig_usr: signal 15 received<br>INFO:core:sig_usr: signal 15 received<br>INFO:core:sig_usr: signal 15 received<br>INFO:core:shutdown_opensips: process 2(11905) [time_keeper] terminated, still waiting for 6 more<br>INFO:core:shutdown_opensips: process 3(11906) [timer] terminated, still waiting for 5 more<br>INFO:core:shutdown_opensips: process 6(11909) [SIP receiver udp:x.x.x.x:5060] terminated, still waiting for 4 more<br>INFO:core:shutdown_opensips: process 1(11904) [MI FIFO] terminated, still waiting for 3 more<br>INFO:core:shutdown_opensips: process 5(11908) [SIP receiver udp:<a href="http://173.230.132.122:5060" target="_blank">173.230.132.122:5060</a>] terminated, still waiting for 2 more<br>INFO:core:shutdown_opensips: process 7(11910) [SIP receiver udp:<a href="http://173.230.132.122:5060" target="_blank">173.230.132.122:5060</a>] terminated, still waiting for 1 more<br>INFO:core:shutdown_opensips: process 8(11911) [Timer handler] terminated, still waiting for 0 more<br>INFO:core:cleanup: cleanup<br> INFO:core:fix_poll_method: using epoll as the IO watch method (auto detected)<br>NOTICE:core:main: version: opensips 3.1.5 (x86_64/linux)<br>NOTICE:core:main: using 2048 MB of shared memory, allocator: F_MALLOC<br>NOTICE:core:main: using 2048 MB of private process memory, allocator: F_MALLOC<br>INFO:core:init_reactor_size: reactor size 262144 (using up to 10.00Mb of memory per process)<br>INFO:core:evi_publish_event: Registered event <E_CORE_THRESHOLD(0)><br>INFO:core:evi_publish_event: Registered event <E_CORE_SHM_THRESHOLD(1)><br>INFO:core:evi_publish_event: Registered event <E_CORE_PKG_THRESHOLD(2)><br>INFO:core:evi_publish_event: Registered event <E_CORE_PROC_AUTO_SCALE(3)><br>INFO:tm:mod_init: TM - initializing...<br>INFO:sl:mod_init: Initializing StateLess engine<br>NOTICE:signaling:mod_init: initializing module ...<br>INFO:core:evi_publish_event: Registered event <E_MYSQL_CONNECTION(4)><br>INFO:dialog:mod_init: Dialog module - initializing<br>INFO:core:evi_publish_event: Registered event <E_DLG_STATE_CHANGED(5)><br>INFO:rr:mod_init: rr - initializing<br> INFO:maxfwd:mod_init: initializing...<br>INFO:sipmsgops:mod_init: initializing...<br></div><div>.........</div><div><br></div><div>Also enabled debugging level 4, but not much information. How do you recommend to debug?</div><div><br></div><div><br></div><div><br></div><div>Thank you</div></div></div><div dir="ltr"><div>-- <br><div dir="ltr"><div>Mario San Vicente</div>
<div>Cheers!</div></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>-- <br><div dir="ltr">VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Mario San Vicente</div>
<div>Cheers!</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div>Mario San Vicente</div>
<div>Cheers!</div></div>