<div dir="ltr">Sometimes it crashes and sometimes while starting I get the warings of the timer .  Same config  shows different issues . <div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024 at 6:45 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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"><u></u>

  
    
  
  <div>
    <font face="monospace">Hi,<br>
      <br>
      How the two reports fit together here ? there are completely
      separate experiences on different runs?? or if you start opensips
      first you get the warnings and later it crashes ??<br>
      For the crash part, I see a core file was generated - could you
      extract the backtrace and post here ? (see
      <a href="https://opensips.org/Documentation/TroubleShooting-Crash" target="_blank">https://opensips.org/Documentation/TroubleShooting-Crash</a>)<br>
      <br>
      Regards<br>
    </font>
    <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
    <div>On 11.03.2024 15:04, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Any update on this ? 
        <div><br>
        </div>
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr"><b><i>Thanks & Regards</i></b>
                    <div><i>Sasmita Panda</i></div>
                    <div><i>Senior Network Testing and Software Engineer</i></div>
                    <div><i>3CLogic , ph:07827611765</i></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Mar 11, 2024 at
          12:03 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.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">With the same server configuration and opensips
            version I am getting below error as well .
            <div><br>
            </div>
            <div>CRITICAL:core:fm_free: freeing already freed shm
              pointer (0x7fc110e0b408), first free: (null): (null)(0) -
              aborting!</div>
            <div><br>
            </div>
            <div> /usr/local/sbin/opensips[215171]:
              <a>INFO:core:handle_sigs</a>: child process 215185 exited by a
              signal 6<br>
               /usr/local/sbin/opensips[215171]: <a>INFO:core:handle_sigs</a>:
              core was generated<br>
               /usr/local/sbin/opensips[215171]: <a>INFO:core:handle_sigs</a>:
              terminating due to SIGCHLD<br>
               /usr/local/sbin/opensips[215172]: Memory status (pkg):<br>
               /usr/local/sbin/opensips[215172]: fm_status
              (0x7fc2907ff010):<br>
               /usr/local/sbin/opensips[215174]: <a>INFO:core:sig_usr</a>:
              signal 15 received<br>
               /usr/local/sbin/opensips[215172]: heap size= 33554432<br>
               /usr/local/sbin/opensips[215174]: Memory status (pkg):<br>
               /usr/local/sbin/opensips[215172]: used= 3710048,
              used+overhead=3801344, free=29844384<br>
               /usr/local/sbin/opensips[215174]: fm_status
              (0x7fc2907ff010):<br>
               /usr/local/sbin/opensips[215172]: max used (+overhead)=
              3801344<br>
               /usr/local/sbin/opensips[215174]: heap size= 33554432<br>
               /usr/local/sbin/opensips[215172]: dumping free list:<br>
               /usr/local/sbin/opensips[215174]: used= 229752,
              used+overhead=318936, free=33324680<br>
               /usr/local/sbin/opensips[215172]: hash =   1 fragments
              no.:     1, unused:     0#012#011#011 bucket size:        
              8 -         8 (first         8)<br>
               /usr/local/sbin/opensips[215174]: max used (+overhead)=
              385792<br>
               /usr/local/sbin/opensips[215174]: dumping free list:<br>
               /usr/local/sbin/opensips[215172]: hash =  18 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
              144 -       144 (first       144)<br>
               /usr/local/sbin/opensips[215174]: hash =   7 fragments
              no.:   139, unused:     0#012#011#011 bucket size:      
               56 -        56 (first        56)<br>
               /usr/local/sbin/opensips[215172]: hash = 2059 fragments
              no.:     1, unused:     0#012#011#011 bucket size:
               16777216 -  33554432 (first  29752936)<br>
               /usr/local/sbin/opensips[215174]: hash =  13 fragments
              no.:    37, unused:     0#012#011#011 bucket size:      
              104 -       104 (first       104)<br>
               /usr/local/sbin/opensips[215172]: TOTAL:      3 free
              fragments = 29753088 free bytes<br>
               /usr/local/sbin/opensips[215172]: TOTAL: 48 overhead<br>
               /usr/local/sbin/opensips[215174]: hash =  16 fragments
              no.:    61, unused:     0#012#011#011 bucket size:      
              128 -       128 (first       128)<br>
               /usr/local/sbin/opensips[215172]:
              -----------------------------<br>
               /usr/local/sbin/opensips[215174]: hash =  31 fragments
              no.:   152, unused:     0#012#011#011 bucket size:      
              248 -       248 (first       248)<br>
               /usr/local/sbin/opensips[215174]: hash =  68 fragments
              no.:    16, unused:     0#012#011#011 bucket size:      
              544 -       544 (first       544)<br>
               /usr/local/sbin/opensips[215174]: hash = 105 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
              840 -       840 (first       840)<br>
               /usr/local/sbin/opensips[215174]: hash = 2059 fragments
              no.:     1, unused:     0#012#011#011 bucket size:
               16777216 -  33554432 (first  33168816)<br>
               /usr/local/sbin/opensips[215174]: TOTAL:    407 free
              fragments = 33235496 free bytes<br>
               /usr/local/sbin/opensips[215174]: TOTAL: 48 overhead<br>
               /usr/local/sbin/opensips[215174]:
              -----------------------------<br>
               /usr/local/sbin/opensips[215176]: Memory status (pkg):<br>
               /usr/local/sbin/opensips[215176]: fm_status
              (0x7fc2907ff010):<br>
               /usr/local/sbin/opensips[215176]: heap size= 33554432<br>
               /usr/local/sbin/opensips[215176]: used= 3705480,
              used+overhead=3796584, free=29848952<br>
               /usr/local/sbin/opensips[215176]: max used (+overhead)=
              3798064<br>
               /usr/local/sbin/opensips[215176]: dumping free list:<br>
               /usr/local/sbin/opensips[215176]: hash =   2 fragments
              no.:     2, unused:     0#012#011#011 bucket size:      
               16 -        16 (first        16)<br>
               /usr/local/sbin/opensips[215176]: hash =   3 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
               24 -        24 (first        24)<br>
               /usr/local/sbin/opensips[215176]: hash =  16 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
              128 -       128 (first       128)<br>
               /usr/local/sbin/opensips[215175]: Memory status (pkg):<br>
               /usr/local/sbin/opensips[215175]: fm_status
              (0x7fc2907ff010):<br>
               /usr/local/sbin/opensips[215175]: heap size= 33554432<br>
               /usr/local/sbin/opensips[215176]: hash = 2059 fragments
              no.:     1, unused:     0#012#011#011 bucket size:
               16777216 -  33554432 (first  29757664)<br>
               /usr/local/sbin/opensips[215175]: used= 3705480,
              used+overhead=3796584, free=29848952<br>
               /usr/local/sbin/opensips[215176]: TOTAL:      5 free
              fragments = 29757848 free bytes<br>
               /usr/local/sbin/opensips[215175]: max used (+overhead)=
              3798064<br>
               /usr/local/sbin/opensips[215176]: TOTAL: 48 overhead<br>
               /usr/local/sbin/opensips[215176]:
              -----------------------------<br>
               /usr/local/sbin/opensips[215175]: dumping free list:<br>
               /usr/local/sbin/opensips[215175]: hash =   2 fragments
              no.:     2, unused:     0#012#011#011 bucket size:      
               16 -        16 (first        16)<br>
               /usr/local/sbin/opensips[215175]: hash =   3 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
               24 -        24 (first        24)<br>
               /usr/local/sbin/opensips[215175]: hash =  16 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
              128 -       128 (first       128)<br>
               /usr/local/sbin/opensips[215175]: hash = 2059 fragments
              no.:     1, unused:     0#012#011#011 bucket size:
               16777216 -  33554432 (first  29757664)<br>
               /usr/local/sbin/opensips[215175]: TOTAL:      5 free
              fragments = 29757848 free bytes<br>
               /usr/local/sbin/opensips[215175]: TOTAL: 48 overhead<br>
               /usr/local/sbin/opensips[215175]:
              -----------------------------<br>
               /usr/local/sbin/opensips[215171]:
              <a>INFO:core:shutdown_opensips</a>: process 3(215174) [timer]
              terminated, still waiting for 13 more<br>
               /usr/local/sbin/opensips[215171]:
              <a>INFO:core:shutdown_opensips</a>: process 4(215175) [SIP
              receiver udp:<a href="http://192.168.33.171:5060" target="_blank">192.168.33.171:5060</a>]
              terminated, still waiting for 12 more<br>
               /usr/local/sbin/opensips[215171]:
              <a>INFO:core:shutdown_opensips</a>: process 5(215176) [SIP
              receiver udp:<a href="http://192.168.33.171:5060" target="_blank">192.168.33.171:5060</a>]
              terminated, still waiting for 11 more<br>
               /usr/local/sbin/opensips[215171]:
              <a>INFO:core:shutdown_opensips</a>: process 1(215172) [MI FIFO]
              terminated, still waiting for 10 more<br>
               /usr/local/sbin/opensips[215173]: <a>INFO:core:sig_usr</a>:
              signal 15 received<br>
               /usr/local/sbin/opensips[215173]: Memory status (pkg):<br>
               /usr/local/sbin/opensips[215173]: fm_status
              (0x7fc2907ff010):<br>
               /usr/local/sbin/opensips[215173]: heap size= 33554432<br>
               /usr/local/sbin/opensips[215173]: used= 229752,
              used+overhead=318936, free=33324680<br>
               /usr/local/sbin/opensips[215173]: max used (+overhead)=
              385792<br>
               /usr/local/sbin/opensips[215173]: dumping free list:<br>
               /usr/local/sbin/opensips[215173]: hash =   7 fragments
              no.:   139, unused:     0#012#011#011 bucket size:      
               56 -        56 (first        56)<br>
               /usr/local/sbin/opensips[215173]: hash =  13 fragments
              no.:    37, unused:     0#012#011#011 bucket size:      
              104 -       104 (first       104)<br>
               /usr/local/sbin/opensips[215173]: hash =  16 fragments
              no.:    61, unused:     0#012#011#011 bucket size:      
              128 -       128 (first       128)<br>
               /usr/local/sbin/opensips[215173]: hash =  31 fragments
              no.:   152, unused:     0#012#011#011 bucket size:      
              248 -       248 (first       248)<br>
               /usr/local/sbin/opensips[215173]: hash =  68 fragments
              no.:    16, unused:     0#012#011#011 bucket size:      
              544 -       544 (first       544)<br>
               /usr/local/sbin/opensips[215173]: hash = 105 fragments
              no.:     1, unused:     0#012#011#011 bucket size:      
              840 -       840 (first       840)<br>
               /usr/local/sbin/opensips[215173]: hash = 2059 fragments
              no.:     1, unused:     0#012#011#011 bucket size:
               16777216 -  33554432 (first  33168816)<br>
               /usr/local/sbin/opensips[215173]: TOTAL:    407 free
              fragments = 33235496 free bytes<br>
               /usr/local/sbin/opensips[215173]: TOTAL: 48 overhead<br>
               /usr/local/sbin/opensips[215173]:
              -----------------------------<br>
               /usr/local/sbin/opensips[215171]:
              <a>INFO:core:shutdown_opensips</a>: process 2(215173)
              [time_keeper] terminated, still waiting for 9 more<br>
               /usr/local/sbin/opensips[215171]: <a>INFO:core:cleanup</a>:
              cleanup<br>
               /usr/local/sbin/opensips[215171]:
              CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout
              triggered, dying...<br>
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <div dir="ltr"><b><i><br>
                          </i></b></div>
                      <div><b><i>Why is the service crashing ? </i></b></div>
                      <div dir="ltr"><b><i><br>
                          </i></b></div>
                      <div dir="ltr"><b><i>Thanks & Regards</i></b>
                        <div><i>Sasmita Panda</i></div>
                        <div><i>Senior Network Testing and Software
                            Engineer</i></div>
                        <div><i>3CLogic , ph:07827611765</i></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Mon, Mar 11, 2024 at
              11:52 AM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.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">Hi All , 
                <div><br>
                </div>
                <div>Mar 11 05:57:02 ip-192-168-33-171
                  /usr/local/sbin/opensips[213843]:
                  <a>INFO:proto_ws:mod_init</a>: initializing WebSocket
                  protocol<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 100 ms ago (now
                  290 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 200 ms ago (now
                  390 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 300 ms ago (now
                  490 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 400 ms ago (now
                  590 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 500 ms ago (now
                  690 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 600 ms ago (now
                  790 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 700 ms ago (now
                  890 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 800 ms ago (now
                  990 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 900 ms ago (now
                  1090 ms), delaying execution<br>
                  Mar 11 05:57:03 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1000 ms ago (now
                  1190 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1100 ms ago (now
                  1290 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1200 ms ago (now
                  1390 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1300 ms ago (now
                  1490 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1400 ms ago (now
                  1590 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1500 ms ago (now
                  1690 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1600 ms ago (now
                  1790 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1700 ms ago (now
                  1890 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:utimer_ticker: utimer task
                  <tm-utimer> already scheduled 1790 ms ago (now
                  1980 ms), delaying execution<br>
                  Mar 11 05:57:04 ip-192-168-33-171
                  /usr/local/sbin/opensips[213846]:
                  WARNING:core:timer_ticker: timer task <tm-timer>
                  already scheduled 990 ms ago (now 1980 ms), delaying
                  execution<br>
                  <div>
                    <div dir="ltr" class="gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr"><b><i><br>
                              </i></b></div>
                          <div><b><i>What is this warning for? Whenever
                                I am starting my openisps service this
                                warning comes . Although the service
                                seems like it's running but it's not
                                listening on the socket exposed .  How
                                to resolve this ?</i></b></div>
                          <div><b><i><br>
                              </i></b></div>
                          <div><b>/usr/local/sbin/opensips  -V</b><br>
                            version: opensips 3.2.3 (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>
                            svn revision: 3831:3878<br>
                            main.c compiled on 07:52:40 Mar 29 2023 with
                            gcc 11<br>
                          </div>
                          <div><br>
                          </div>
                          <div><b>cat /etc/*release</b><br>
                            Amazon Linux release 2023 (Amazon Linux)<br>
                            NAME="Amazon Linux"<br>
                            VERSION="2023"<br>
                            ID="amzn"<br>
                            ID_LIKE="fedora"<br>
                            VERSION_ID="2023"<br>
                            PLATFORM_ID="platform:al2023"<br>
                            PRETTY_NAME="Amazon Linux 2023"<br>
                            ANSI_COLOR="0;33"<br>
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"<br>
                            HOME_URL="<a href="https://aws.amazon.com/linux/" target="_blank">https://aws.amazon.com/linux/</a>"<br>
                            BUG_REPORT_URL="<a href="https://github.com/amazonlinux/amazon-linux-2023" target="_blank">https://github.com/amazonlinux/amazon-linux-2023</a>"<br>
                            SUPPORT_END="2028-03-01"<br>
                            Amazon Linux release 2023 (Amazon Linux)<br>
                          </div>
                          <div><b><i><br>
                              </i></b></div>
                          <div dir="ltr"><b><i><br>
                              </i></b></div>
                          <div dir="ltr"><b><i>Thanks & Regards</i></b>
                            <div><i>Sasmita Panda</i></div>
                            <div><i>Senior Network Testing and Software
                                Engineer</i></div>
                            <div><i>3CLogic , ph:07827611765</i></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div>