<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>So after all, the problem was so slow/blocking communication
      with the Radius server. For the future, to debug such issue you
      can use the exec_msg_threshold to see what are the slow parts of
      your script:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreParameters-2-1#toc57">http://www.opensips.org/Documentation/Script-CoreParameters-2-1#toc57</a><br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 26.01.2016 00:18, Aqs Younas wrote:<br>
    </div>
    <blockquote
cite="mid:CAGVOjVXm-oOMLZiwXGGRCiSFF=HYJVJOaYBd1Ar8VzYJcg-iJQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Resolved the issue by down grading to radius 2.2. But stuck
          in another problem going to post another thread. <br>
          <br>
        </div>
        <div>Thank you All. <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 25 January 2016 at 19:55, Aqs Younas
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>We are still looking where things went wrong.
                Actually code is not changed a bit , same radius
                configuration in production server works perfect. We
                just copied the setup to new server and facing the
                problem. I see a lot of people posted this issue before
                but none have shared the solutions.  <br>
                <br>
                Could you help where we need to look for radius
                connections. <br>
                <br>
              </div>
              Much thanks for your pointers<br>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On 25 January 2016 at 19:18,
                    Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:bogdan@opensips.org"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi
                          Aqs,<br>
                          <br>
                          I assume after fixing your RADIUS issue the
                          timer warnings disappeared   ?<br>
                          <br>
                          Regards, <br>
                        </tt><span>
                          <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                        </span><span>
                          <div>On 22.01.2016 23:09, Aqs Younas wrote:<br>
                          </div>
                          <blockquote type="cite">
                            <div dir="ltr">
                              <div>Sorry, I must search archive before
                                query here.  <br>
                                <br>
                                The problem is related to radius
                                accounting. I am too using radius for
                                AAA and this problem appears after calls
                                began to terminate.<br>
                              </div>
                              <div>Below threads are purely related. <br>
                                <br>
                              </div>
                              <div><a moz-do-not-send="true"
                                  href="http://comments.gmane.org/gmane.comp.voip.opensips.user/31415"
                                  target="_blank">http://comments.gmane.org/gmane.comp.voip.opensips.user/31415</a><br>
                                <a moz-do-not-send="true"
href="https://www.mail-archive.com/users@lists.opensips.org/msg30675.html"
                                  target="_blank">https://www.mail-archive.com/users@lists.opensips.org/msg30675.html</a><br>
                              </div>
                            </div>
                            <div class="gmail_extra"><br>
                              <div class="gmail_quote">On 22 January
                                2016 at 22:37, Aqs Younas <span
                                  dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:aqsyounas@gmail.com"
                                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:aqsyounas@gmail.com">aqsyounas@gmail.com</a></a>&gt;</span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div dir="ltr">
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <div>On the start of
                                                  test. Using top <br>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                          </blockquote>
                        </span> [...]
                        <div>
                          <div><br>
                            <blockquote type="cite">
                              <div class="gmail_extra">
                                <div class="gmail_quote">
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div dir="ltr">
                                      <div>
                                        <div>
                                          <div>
                                            <div><br>
                                              <br>
                                            </div>
                                            I see opensips stuck(flood
                                            with warnings) durings calls
                                            termination process which
                                            leads me to manually kill
                                            opensisp to prevent opensips
                                            from eating all my server
                                            resources.   <br>
                                            <br>
                                          </div>
                                          Test is performed using sipp
                                          with 30 cps and 2000
                                          concurrent calls of during 6
                                          minutes. <br>
                                          <br>
                                          :lscpu<br>
                                          <br>
                                          Architecture:          x86_64<br>
                                          CPU op-mode(s):        32-bit,
                                          64-bit<br>
                                          Byte Order:            Little
                                          Endian<br>
                                          CPU(s):                32<br>
                                          On-line CPU(s) list:   0-31<br>
                                          Thread(s) per core:    2<br>
                                          Core(s) per socket:    8<br>
                                          Socket(s):             2<br>
                                          NUMA node(s):          2<br>
                                          Vendor ID:            
                                          GenuineIntel<br>
                                          CPU family:            6<br>
                                          Model:                 45<br>
                                          Stepping:              7<br>
                                          CPU MHz:              
                                          1199.531<br>
                                          BogoMIPS:              4001.49<br>
                                          Virtualization:        VT-x<br>
                                          L1d cache:             32K<br>
                                          L1i cache:             32K<br>
                                          L2 cache:              256K<br>
                                          L3 cache:              20480K<br>
                                          NUMA node0 CPU(s):    
                                          0-7,16-23<br>
                                          NUMA node1 CPU(s):    
                                          8-15,24-31<br>
                                          <br>
                                          egrep --color 'Mem|Cache|Swap'
                                          /proc/meminfo<br>
                                          <br>
                                          MemTotal:       49530560 kB<br>
                                          MemFree:        29677688 kB<br>
                                          MemAvailable:   45436220 kB<br>
                                          <br>
                                          <br>
                                          <br>
                                        </div>
                                        Let me know if you need anything
                                        else. <br>
                                        <br>
                                      </div>
                                      Thanks. <br>
                                    </div>
                                    <div>
                                      <div>
                                        <div class="gmail_extra"><br>
                                          <div class="gmail_quote">On 22
                                            January 2016 at 21:18,
                                            Bogdan-Andrei Iancu <span
                                              dir="ltr">&lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:bogdan@opensips.org"
                                                target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>&gt;</span>
                                            wrote:<br>
                                            <blockquote
                                              class="gmail_quote"
                                              style="margin:0 0 0
                                              .8ex;border-left:1px #ccc
                                              solid;padding-left:1ex">
                                              <div bgcolor="#FFFFFF"
                                                text="#000000"> <tt>Yes,

                                                  the "children" option
                                                  - 10 should be more
                                                  than ok.<br>
                                                  <br>
                                                  What is the CPU usage
                                                  from opensips during
                                                  the test ?<br>
                                                  <br>
                                                  Regards,<br>
                                                </tt><span>
                                                  <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                                                </span>
                                                <div>
                                                  <div>
                                                    <div>On 22.01.2016
                                                      18:08, Aqs Younas
                                                      wrote:<br>
                                                    </div>
                                                    <blockquote
                                                      type="cite">
                                                      <div dir="ltr">
                                                        <pre cols="72">Hi, Bogdan

</pre>
                                                        <pre cols="72">You mean children? First I thought it is due to children(10 default) which I increased to 500 but no avail. 
</pre>
                                                        <pre cols="72">This I have in my configuration file.

debug=3
log_stderror=no
log_facility=LOG_LOCAL3

fork=yes
children=500
open_files_limit=99999

</pre>
                                                        <pre cols="72">Thanks for replying. 
</pre>
                                                      </div>
                                                      <div
                                                        class="gmail_extra"><br>
                                                        <div
                                                          class="gmail_quote">On
                                                          22 January
                                                          2016 at 20:49,
                                                          Bogdan-Andrei
                                                          Iancu <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>&gt;</span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          bgcolor="#FFFFFF"
                                                          text="#000000">
                                                          <tt>How many
                                                          workers have
                                                          you configured
                                                          into opensips
                                                          ?<br>
                                                          <br>
                                                          Regards,<br>
                                                          </tt>
                                                          <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                                                          <div>
                                                          <div>
                                                          <div>On
                                                          22.01.2016
                                                          17:43, Aqs
                                                          Younas wrote:<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div>
                                                          <div>
                                                          <div dir="ltr">I
                                                          see this
                                                          warning when i
                                                          am sending
                                                          calls with
                                                          more than 10
                                                          cps. On 5 to
                                                          10 cps
                                                          everything
                                                          seems ok.<br>
                                                          </div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">On

                                                          22 January
                                                          2016 at 19:38,
                                                          Aqs Younas <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:aqsyounas@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:aqsyounas@gmail.com">aqsyounas@gmail.com</a></a>&gt;</span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>Hi, <br>
                                                          <br>
                                                          </div>
                                                          I am using
                                                          sipp to load
                                                          test my
                                                          opensips
                                                          (version:
                                                          opensips 2.1.2
                                                          (x86_64/linux))

                                                          after calls
                                                          get terminated
                                                          i see my
                                                          opensips being
                                                          flood with
                                                          below
                                                          warnings. <br>
                                                          <br>
                                                          Jan 22
                                                          14:31:38
                                                          66-226-76-150
                                                          /usr/local/origination/opensips/sbin/opensips[22844]:

                                                          WARNING:core:utimer_ticker:

                                                          utimer task
                                                          &lt;tm-utimer&gt;
                                                          already
                                                          schedualed for
                                                          1575170 ms<br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </blockquote>
                                                        </div>
                                                      </div>
                                                    </blockquote>
                                                  </div>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                        [...]<br>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>