I put the latest dialog module from svn; I will see if it will still happen. Thank you<br><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 1:04 PM, Anca Vamanu <span dir="ltr">&lt;<a href="mailto:anca@opensips.org">anca@opensips.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  
    
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi Iulian,<br>
    <br>
    I suggest to update the dialog module from svn, branch 1.6. There
    was a memory leak discovered after the 1.6.2 release and it was
    fixed in January. It might also be showing up in your configuration.
    <br>
    <br>
    Regards,<br>
    <small><font color="#666666">----<br>
        Anca Vamanu<br>
        OpenSIPS Developer</font><br>
    </small><div><div></div><div class="h5"><br>
    On 03/11/2011 11:39 AM, Iulian Macare wrote:
    <blockquote type="cite">That&#39;s the version I am using. 1.6.4-2 ; I tried to
      double the SHM parameter and recompile but the same problem
      happened.<br>
      <br>
      opensips-1.6.4-2-notls_src.tar.gz<br>
      <br>
      <div class="gmail_quote">On Fri, Mar 11, 2011 at 11:37 AM, Denis
        Putyato <span dir="ltr">&lt;<a href="mailto:denis7979@mail.ru" target="_blank">denis7979@mail.ru</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
          <div link="blue" vlink="purple" lang="RU">
            <div>
              <p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);" lang="EN-US">Hello</span></p>
              <p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
              <p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);" lang="EN-US">I had the same problem on
                  1.6.4, you should use 1.6.4-2 version</span></p>
              <p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
              <div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
                <p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>
                    [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>]
                    <b>On Behalf Of </b>Iulian Macare<br>
                    <b>Sent:</b> Friday, March 11, 2011 12:24 PM<br>
                    <b>To:</b> <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a><br>
                    <b>Subject:</b> [OpenSIPS-Users] opensips 1.6.4 out
                    of memory</span></p>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal" style="margin-bottom: 12pt;">2-3
                    times per day my opensips configuration with 300
                    channels and a load balancer fails ; It&#39;s opensips
                    1.6.4 on centos 5.5. 32 bit <br>
                    <br>
                    The erors I get are :<br>
                    <br>
                    Any ideas?<br>
                    <br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1718]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1701]:
                    ERROR:tm:sip_msg_cloner: no more share memory<br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1716]:
                    ERROR:dialog:dlg_create_dialog: could not add
                    further info to the dialog<br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:dialog:dlg_create_dialog: could not add
                    further info to the dialog<br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1727]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1704]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:08 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:load_balancer:do_load_balance: failed to
                    create dialog<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1698]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1723]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1725]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1708]:
                    ERROR:dialog:dlg_add_leg_info: Failed to resize legs
                    array<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1712]:
                    ERROR:dialog:dlg_add_leg_info: Failed to resize legs
                    array<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1714]:
                    ERROR:dialog:dlg_create_dialog: could not add
                    further info to the dialog<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1720]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1721]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1710]:
                    ERROR:tm:sip_msg_cloner: no more share memory<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1718]:
                    ERROR:tm:sip_msg_cloner: no more share memory<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1701]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1716]:
                    ERROR:dialog:init_leg_info: dlg_add_leg_info failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:dialog:init_leg_info: dlg_add_leg_info failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1727]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1704]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:dialog:dlg_create_dialog: could not add
                    further info to the dialog<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1698]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1723]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1708]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:07 opensipsh
                    /usr/local/sbin/opensips[1712]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1701]: ERROR:tm:t_newtran:
                    new_t failed<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1716]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1706]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1727]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1725]:
                    ERROR:dialog:dlg_add_leg_info: Failed to resize legs
                    array<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1698]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1723]:
                    ERROR:dialog:dlg_add_leg_info: no more shm mem<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1708]:
                    ERROR:dialog:dlg_add_leg_info: Failed to resize legs
                    array<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1712]:
                    ERROR:dialog:dlg_add_leg_info: Failed to resize legs
                    array<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1714]:
                    ERROR:dialog:build_new_dlg: no more shm mem (202)<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1720]:
                    ERROR:tm:shm_clone_proxy: no more shm memory<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1721]:
                    ERROR:tm:sip_msg_cloner: no more share memory<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1710]:
                    ERROR:dialog:dlg_add_leg_info: Failed to resize legs
                    array<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1718]:
                    ERROR:core:build_req_buf_from_sip_req: out of pkg
                    memory<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1701]: ERROR:tm:new_t: out
                    of mem<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1716]:
                    ERROR:tm:sip_msg_cloner: no more share memory<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:tm:sip_msg_cloner: no more share memory<br>
                    Mar 11 11:15:04 opensipsh
                    /usr/local/sbin/opensips[1727]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1725]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1698]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1708]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1718]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1725]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1720]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1708]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1718]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1720]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1708]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1718]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1720]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1708]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1718]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1706]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:03 opensipsh
                    /usr/local/sbin/opensips[1720]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1704]:
                    ERROR:core:print_rr_body: too many RR<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:dialog:get_routing_info: failed to print route
                    records<br>
                    Mar 11 11:15:02 opensipsh
                    /usr/local/sbin/opensips[1700]:
                    ERROR:core:print_rr_body: too many RR<br>
                    <br>
                  </p>
                </div>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      
      <pre><fieldset></fieldset>
_______________________________________________
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></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>