Hi Alex,

 

We set the hash size to 32 MB and found that the hash size is not the same as configured one. At the max it was taking 64KB.

 

Regards,

Shankar

 

 

Date: Mon, 03 Feb 2014 00:27:29 -0500

From: Alex Balashov <abalashov@evaristesys.com>

To: sr-users@lists.sip-router.org

Subject: Re: [SR-Users] Regd. MAX_LDG_LOCKS

Message-ID: <52EF28C1.5010204@evaristesys.com>

Content-Type: text/plain; charset=windows-1252; format=flowed

 

On 02/03/2014 12:22 AM, Shankar wrote:

 

> Also we found that in ?dialog.c? the variable dlg_hash_size should be

> ?unsigned int?. Hope this will be taken care in next release of Kamailio.

 

How did you arrive at that conclusion?

 

--

Alex Balashov - Principal

Evariste Systems LLC

235 E Ponce de Leon Ave

Suite 106

Decatur, GA 30030

United States

Tel: +1-678-954-0670

Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

 

 

From: Shankar [mailto:shankar.rk@plintron.com]
Sent: Monday, February 03, 2014 10:53 AM
To: 'SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List'
Subject: Regd. MAX_LDG_LOCKS

 

Hello,

 

Can anyone brief about MAX_LDG_LOCKS in dlg_hash.c?

 

Should I increase the value of MAX_LDG_LOCKS (hardcoded to 2048) if the hash size is increased?

 

Also we found that in ‘dialog.c’ the variable dlg_hash_size should be ‘unsigned int’. Hope this will be taken care in next release of Kamailio.

 

Regards,

Shankar