[SR-Users] 500 Forking capacity exceeded (12/SL)
Jorj Bauer
jorj at isc.upenn.edu
Fri Mar 7 16:44:53 CET 2014
I believe a couple of bits are reserved in the code, actually. I think 30 is the maximum that's safe (and that's what we're using).
-- Jorj
On Mar 7, 2014, at 10:36 AM, Camila Troncoso <ctroncoso at redvoiss.net>
wrote:
> Jorj,
>
> Do you mean that the branches are represented each one in one bit, so 32
> bit number is a max of 32 branches?
> And you recommend to use value 30, leaving 2 bit reserved?
>
> Regards,
>
> Camila
>
>
> -----Mensaje original-----
> De: sr-users-bounces at lists.sip-router.org
> [mailto:sr-users-bounces at lists.sip-router.org] En nombre de Jorj Bauer
> Enviado el: viernes, 07 de marzo de 2014 11:23
> Para: Kamailio (SER) - Users Mailing List
> Asunto: Re: [SR-Users] 500 Forking capacity exceeded (12/SL)
>
> Sadly, the branches are tracked in a 32-bit number, so you can't make it
> to 40. (We use 30 at Penn, having found a couple bits reserved.)
>
> We've done some preliminary work trying to migrate this to a 64-bit, but
> it's not complete, and we're not actively working on it any longer.
>
> -- Jorj
>
>
> On Mar 7, 2014, at 8:38 AM, Camila Troncoso <ctroncoso at redvoiss.net>
> wrote:
>
>> Juha,
>>
>> I tried increasing the number of MAX BRANCHES, but when I compiled and
>> restarted kamailio it gave this error:
>>
>> tm [tm.c:744]: Too many max UACs for UAC branch_bm_t bitmap: 40
>> ERROR: <core> [sr_module.c:932]: init_mod(): Error while initializing
>> module tm (/usr/local/lib64/kamailio/modules/tm.so)
>>
>> Then I had to change it to 24 MAX BRANCHES , and kamailio started ok.
>>
>> Is there a limit of MAX BRANCHES ? I need to increase the value near
>> 40 branches.
>>
>> Regards,
>>
>> Camila
>>
>>
>>
>> -----Mensaje original-----
>> De: sr-users-bounces at lists.sip-router.org
>> [mailto:sr-users-bounces at lists.sip-router.org] En nombre de Juha
>> Heinanen Enviado el: sábado, 22 de febrero de 2014 18:16
>> Para: Kamailio (SER) - Users Mailing List
>> Asunto: [SR-Users] 500 Forking capacity exceeded (12/SL)
>>
>> Camila Troncoso writes:
>>
>>> If one gateway is full, busy, down or answers with any failed
>>> response to LCR , I jump to the next gateway in the list. I´m
>>> presenting the problem that its stops jumping after 12 gateways and
>>> returns the message 500 Forking capacity exceeded (12/SL). I need to
>>> increase this limit , so all the gateways in the list give the call a
> try.
>>
>> try increasing
>>
>> config.h:#define MAX_BRANCHES 12 /*!< maximum number of
>> branches per transaction */
>>
>> -- juha
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list