[SR-Users] Kamailio 4.1.6 htable issue

Daniel-Constantin Mierla miconda at gmail.com
Tue Oct 14 15:41:49 CEST 2014


Hello,

thanks for reporting back to clarify what was the issue -- good to hear 
is works!

Cheers,
Daniel

On 14/10/14 10:59, José Seabra wrote:
> Hi Daniel,
> Thank you for your reply,
> The size of my hashtable "dlg" was too high, I reduced the size of 
> this hashtable and now kamailio is starting correctly.
>
> BR
> José
>
> 2014-10-13 16:46 GMT+01:00 Daniel-Constantin Mierla <miconda at gmail.com 
> <mailto:miconda at gmail.com>>:
>
>     Hello,
>
>     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.
>
>     Cheers,
>     Daniel
>
>
>     On 13/10/14 16:03, José Seabra wrote:
>>     Hello there,
>>     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:
>>
>>     0(1273) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG:
>>     init_mod: presence_profile
>>      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]
>>      0(1273) DEBUG: presence [event_list.c:351]: search_event():
>>     start event= [ua-profile/7]
>>      0(1273) DEBUG: presence [event_list.c:351]: search_event():
>>     start event= [ua-profile.winfo/0]
>>      0(1273) DEBUG: presence [event_list.c:259]: add_event():
>>     successfully added event: ua-profile - len= 10
>>      0(1273) DEBUG: <core> [sr_module.c:966]: init_mod(): DEBUG:
>>     init_mod: htable
>>      0(1273) ERROR: htable [ht_api.c:282]: ht_init_tables(): no more
>>     shm for [dlg]
>>      0(1273) ERROR: <core> [sr_module.c:970]: init_mod(): init_mod():
>>     Error while initializing module htable
>>     (/usr/local/lib64/kamailio/modules/htable.so)
>>     ERROR: error while initializing modules
>>      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
>>      0(1271) ERROR: <core> [daemonize.c:307]: daemonize(): Main
>>     process exited before writing to pipe
>>
>>     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?
>>
>>     Thank you for your support
>>     -- 
>>     Cumprimentos
>>     José Seabra
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla
>     http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  -http://www.linkedin.com/in/miconda
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> -- 
> Cumprimentos
> José Seabra

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141014/e3ca6e90/attachment.html>


More information about the sr-users mailing list