<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    what is the definition of htable dlg? It seems that you define it
    with a lot of slots -- in older versions there was a limit of 2^14
    which was set if a higher value was given. Now that was removed, as
    people wanted larger hash tables, but it can be easy to occupy the
    memory if the parameter is not appropriate value.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 13/10/14 16:03, José Seabra wrote:<br>
    </div>
    <blockquote
cite="mid:CAEVZRWv3Egj9uRqh=RS+SztW-OPYiscji4vEVpQ+f5Vkfm=5Gg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello there,
        <div>I upgraded my kamailio version from 4.0.6 to 4.1.6 and now
          when i try start kamailio it breaks down on htable module
          initialization, as you can see on logs bellow:</div>
        <div><br>
        </div>
        <div>
          <div>0(1273) DEBUG: <core> [sr_module.c:966]:
            init_mod(): DEBUG: init_mod: presence_profile</div>
          <div> 0(1273) DEBUG: <core> [sr_module.c:701]:
            find_mod_export_record(): find_export_record: found
            <bind_presence> in module presence
            [/usr/local/lib64/kamailio/modules/presence.so]</div>
          <div> 0(1273) DEBUG: presence [event_list.c:351]:
            search_event(): start event= [ua-profile/7]</div>
          <div> 0(1273) DEBUG: presence [event_list.c:351]:
            search_event(): start event= [ua-profile.winfo/0]</div>
          <div> 0(1273) DEBUG: presence [event_list.c:259]: add_event():
            successfully added event: ua-profile - len= 10</div>
          <div> 0(1273) DEBUG: <core> [sr_module.c:966]:
            init_mod(): DEBUG: init_mod: htable</div>
          <div> 0(1273) ERROR: htable [ht_api.c:282]: ht_init_tables():
            no more shm for [dlg]</div>
          <div> 0(1273) ERROR: <core> [sr_module.c:970]:
            init_mod(): init_mod(): Error while initializing module
            htable (/usr/local/lib64/kamailio/modules/htable.so)</div>
          <div>ERROR: error while initializing modules</div>
          <div> 0(1273) : <core> [mem/q_malloc.c:468]: qm_free():
            BUG: qm_free: freeing already freed pointer
            (0x7fae605547c0), called from htable: ht_api.c:
            ht_destroy(343), first free htable: ht_api.c:
            ht_destroy(343) - aborting</div>
          <div> 0(1271) ERROR: <core> [daemonize.c:307]:
            daemonize(): Main process exited before writing to pipe</div>
        </div>
        <div><br>
        </div>
        <div>The shared memory allocated for kamailio is 256MB and is
          the same that i had for version 4.0.1, can this be a bug?<br
            clear="all">
          <div><br>
          </div>
          <div>Thank you for your support</div>
          -- <br>
          Cumprimentos
          <div>José Seabra</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>