Hello,

I am trying to properly size the use of the Dialog Module hash for our
implementation using:

modparam("dialog", "hash_size", <number that is power of two>)

However, in my testing, I have been unable to figure out the relationship
between the hash size and a number of dialogs I need to support.  I think
the hash size is specifying a memory block in kB, but even setting the hash
size to a very tiny number does stop me from creating hundreds of dialogs.

Is there a way to determine a relationship between the hash size and a
rough number of dialogs that would be expected?

An example of a a dialog looks like this from kamctl:

[root@kamailio01 ~]# kamctl dialog show
dialog memory records
dialog::  hash=22:70
state:: 4
ref_count:: 2
timestart:: 1512151205
timeout:: 36083666
callid::
0gQAAC8WAAACBAAALxYAAClws2wyL8GE+CSgRY7HIhmg9ZUIISZad46ntOPng3iPIcLaxzLFaytRTI7M0Bzz0g--@10.155.8.40
from_uri:: sip:[email protected]
from_tag:: 10.155.8.40+1+689d7e5e+8fcf481a
caller_contact:: sip:[email protected]:5060
;transport=udp
caller_cseq:: 24115
caller_route_set::
caller_bind_addr:: udp:10.155.8.11:5060
callee_bind_addr:: udp:10.155.8.11:5060
to_uri:: sip:[email protected]
to_tag:: sip+1+bdcd0004+2038f37c
callee_contact:: sip:[email protected]:5060
;transport=udp
callee_cseq:: 0
callee_route_set::



Thanks!
-- 
Mark Blackford
Digium Cloud Services
678.230.8769
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to