<p></p>
<p>I have my hash table set to size = 16<br>
modparam("htable", "htable", "a=>size=16;autoexpire=0;dbtable=htable;")</p>
<p>I had around 3000 entries in that table, some entries with more than 10 duplicate keys (key_type = 1) and we found that when reading the entries of the duplicated keys it could not go pass index 9 even though in the physical table there were 17 entries.<br>
I deleted some old entries and now the table is about 2000 items and it seems to work properly again ,(loads all value in memory). I say seems because I can not dump all values:</p>
<pre><code>./kamcmd htable.dump a
ERROR: reply too big
</code></pre>
<p>But I check manually all the ones that were not being loaded and they are now<br>
Questions:<br>
1- the size parameter is for the buckets or entries size ?<br>
2- is 16 a good value for a table with 3000 entries? ( 2^16 is 65k so I figured it would be ok)<br>
3- can the the way I define my key impose a limitation?<br>
4- what is the max size for an htable to be dumped with the above command?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2311">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMJUTYEFCWBPCP2M43RPLOXDANCNFSM4MXESYDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKQU5NK4MWNX47NI7TRPLOXDA5CNFSM4MXESYD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JDH5L7A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2311",
"url": "https://github.com/kamailio/kamailio/issues/2311",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>