[OpenSER-Users] Increase MAX_BRANCHES value?

Marcello Lupo mlist at itspecialist.it
Wed Mar 12 14:02:44 CET 2008


Hi,
thanks for your answer...
I increased the SHM_MEM_SIZE to 64 and left KG_MEM_POOL_SIZE  
4*1024*1024 .
Anyway i found that is not possible to raise MAX_BRANCHES to values  
higher than 30 due to
tm module internal limitation.
Bye,
Marcello

On Mar 12, 2008, at 12:16 PM, Bogdan-Andrei Iancu wrote:

> Hi Marcello,
>
> Marcello Lupo wrote:
>> Hi to all,
>> due to a failover routing policy (serial forking) i need to  
>> increase  the MAX_BRANCHES value to something like 35.
>> Our gateways have limitation of 30 Channels ---> 1 IP . I have 32  
>> of  them available.
>> Can this change have any heavy and dangerous effect on openser ??
>>
> It should not. At least not a dangerous effect, but a slightly  
> increase of SHM memory - a transaction will be larger to accommodate  
> the higher number of branches.
>> Just to know if i will need to increase memory aveilable or  
>> something  like this.
>>
> Theoretically, it will be safer to increase a bit the SHM memory -  
> but this depends of how many simultaneous transaction you have - see  
> the TM statistics for this.
>> I already use :
>>
>> /*used only if PKG_MALLOC is defined*/
>> #define PKG_MEM_POOL_SIZE 4*1024*1024
>>
>> due to my eavy use of AVP.
> This is wrong - AVPs use SHM memory and not PKG.
>
> Regards,
> Bogdan
>> Let me know if i need to increase it more  than this.
>> Thanks to all,
>> Bye,
>> Marcello
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>





More information about the Users mailing list