<div dir="ltr">Hi Daniel,<div>Thank you for your reply,</div><div>The size of my hashtable "dlg" was too high, I reduced the size of this hashtable and now kamailio is starting correctly.</div><div><br></div><div>BR </div><div>José</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-13 16:46 GMT+01:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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<div><div class="h5"><br>
<br>
<div>On 13/10/14 16:03, José Seabra wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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></fieldset>
<br>
</div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cumprimentos<div>José Seabra</div>
</div>