<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hi Juned,<br>
        <br>
        That's an harmless error report - it says the WARNING SIP header
        (to be attached to the message) is longer than the static buffer
        used for building it. Nothing more, it is not a real error.<br>
        <br>
        Regards,<br>
        Bogdan<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>
      On 24.06.2014 14:17, Juned Khan wrote:<br>
    </div>
    <blockquote
cite="mid:CAMm4cj_H5=TSvkv440J3fJ7_02zgTKdqs7miMSdO=w-KaEePaw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><tt>Hi Bogdan,<br>
          <br>
          PFA<br>
        </tt><tt>I am using Zenoss system monitoring tool, and it
          reports below error which causes opensips to crash.<br>
          <br>
          ERROR:core:warning_builder:buffer size exceeded<br>
          <br>
          <br>
          <br>
        </tt><br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Jun 12, 2014 at 4:52 PM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</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">
              <div><tt>Hi Juned,<br>
                  <br>
                  See <a moz-do-not-send="true"
                    href="http://www.opensips.org/Documentation/TroubleShooting-Crash"
                    target="_blank">http://www.opensips.org/Documentation/TroubleShooting-Crash</a>
                  - try all the suggestions, maybe you will get a core
                  file at the end....<br>
                  <br>
                  Regards,<br>
                </tt>
                <div class="">
                  <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 class="h5"> On 12.06.2014 08:21, Juned Khan
                    wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>double checked the all possible logs but
                          didn't get anything suspected.<br>
                        </div>
                        also tried to disable some scripts but still
                        having same problem,<br>
                        <br>
                      </div>
                      It crashes every four hour almost.<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">On Tue, Jun 10, 2014 at
                        9:01 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:bogdan@opensips.org"
                            target="_blank">bogdan@opensips.org</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">
                            <div><tt>checked all possible log file ?
                                syslog, messages, etc ?<br>
                                <br>
                                Regards,<br>
                              </tt>
                              <div>
                                <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 09.06.2014 08:42, Juned Khan
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <div>
                              <div>
                                <blockquote type="cite">
                                  <div dir="ltr">nope I don't see such
                                    messages in Log, also I confirmed
                                    about scripts,<br>
                                    but i don’t have any scripts which
                                    causing this issue.<br>
                                  </div>
                                  <div class="gmail_extra"><br>
                                    <br>
                                    <div class="gmail_quote">On Thu, Jun
                                      5, 2014 at 9:35 PM, Bogdan-Andrei
                                      Iancu <span dir="ltr">&lt;<a
                                          moz-do-not-send="true"
                                          href="mailto:bogdan@opensips.org"
                                          target="_blank">bogdan@opensips.org</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">
                                          <div><tt>btw, do you see
                                              message from kernel like "</tt><tt>opensips[xxxxxxx]:

                                              segfault at X ip ....." ?</tt>
                                            <div><br>
                                              <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 05.06.2014 15:03,
                                                Bogdan-Andrei Iancu
                                                wrote:<br>
                                              </div>
                                            </div>
                                          </div>
                                          <div>
                                            <div>
                                              <blockquote type="cite">
                                                <div><tt>Those are just
                                                    memory reports (on
                                                    usage) and it is
                                                    done at shutdown -
                                                    nothing unusual.<br>
                                                    <br>
                                                    Are you sure your
                                                    opensips is not
                                                    getting terminated
                                                    (stopped) by mistake
                                                    by other scripts on
                                                    your server ? I see
                                                    no indication of a
                                                    crash so far.<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>
                                                  On 05.06.2014 14:59,
                                                  Juned Khan wrote:<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div dir="ltr">
                                                    <pre cols="72">Hi Bogdan

</pre>
                                                    <pre cols="72">No I don't see any other signal than 15.
</pre>
                                                    <pre cols="72">I was little bit curious about this logs 

</pre>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24206</span><span>]</span>:
                                                       <span>used</span>=
                                                      <span>374656</span>,
                                                      used+<span>overhead</span>=<span>453616</span>,
                                                      <span>free</span>=<span>1722496</span></div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24206</span><span>]</span>:
                                                       max used <span>(</span>+overhead<span>)</span>=
                                                      <span>453616</span></div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24206</span><span>]</span>:
                                                      dumping <span>free</span>
                                                      list:</div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24200</span><span>]</span>:
                                                       max used <span>(</span>+overhead<span>)</span>=
                                                      <span>453616</span></div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24180</span><span>]</span>:
                                                       <span>used</span>=
                                                      <span>334936</span>,
                                                      used+<span>overhead</span>=<span>417856</span>,
                                                      <span>free</span>=<span>1762216</span></div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24200</span><span>]</span>:
                                                      dumping <span>free</span>
                                                      list:</div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24180</span><span>]</span>:
                                                       max used <span>(</span>+overhead<span>)</span>=
                                                      <span>421648</span></div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24199</span><span>]</span>:
                                                      TOTAL:      <span>4</span>
                                                      <span>free</span>
                                                      fragments = <span>1781264</span>
                                                      <span>free</span>
                                                      bytes</div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24179</span><span>]</span>:
                                                       max used <span>(</span>+overhead<span>)</span>=
                                                      <span>405112</span></div>
                                                    <div>Jun  <span>5</span>
                                                      06:<span>39</span>:<span>57</span>
                                                      proxy02 opensips<span>[</span><span>24197</span><span>]</span>:
                                                       max used <span>(</span>+overhead<span>)</span>=
                                                      <span>395824</span></div>
                                                    <pre cols="72">This is the only log when OpenSIPS crashes, which quite different then normal logs.
And it looks like memory problem to me but I am not sure, you better know about this.
</pre>
                                                    <div
                                                      class="gmail_extra"><br>
                                                      <br>
                                                      <div
                                                        class="gmail_quote">On
                                                        Thu, Jun 5, 2014
                                                        at 5:12 PM,
                                                        Bogdan-Andrei
                                                        Iancu <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
                                                          <div><tt>Hi
                                                          Juned,<br>
                                                          <br>
                                                          Your log (as
                                                          per IRC
                                                          discussion )
                                                          shows only
                                                          signal 15
                                                          (which is SIG
                                                          TERM) when
                                                          doing normal
                                                          shutdown - do
                                                          you have any
                                                          other "signal"
                                                          reported in
                                                          the logs ? <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>
                                                          <br>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </blockquote>
                                            </div>
                                          </div>
                                        </div>
                                      </blockquote>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>