[OpenSIPS-Users] Load Balancer module only sending calls to 4 servers in a group

Bobby Smith bobby.smith at gmail.com
Tue Jul 14 14:42:58 CEST 2009


Awesome, thanks much -- let me know if I can provide any additional info /
logs about the scenario or snippets of the routing script.



On Fri, Jul 10, 2009 at 11:53 AM, Bogdan-Andrei Iancu <
bogdan at voice-system.ro> wrote:

> Hello Bobby,
>
> Let me test this scenario.
>
> Regards,
> Bogdan
>
> Bobby Smith wrote:
>
>> Hello,
>>
>> I've currently got the load balancer set up with a single group (we'll
>> call it "handset", as our opensips server using the loadbalancing is just
>> acting as a registrar/proxy to a softswitch).
>>
>> This is how it's defined in the database table:
>>
>> "1";1;"sip:1.2.3.4";"handset=75";"server1"
>> "2";1;"sip:sip:1.2.3.5";"handset=75";"server2"
>> "3";1;"sip:sip:1.2.3.6";"handset=75";"server3"
>> "4";1;"sip:sip:1.2.3.7";"handset=75";"server4"
>> "5";1;"sip:sip:1.2.3.8";"handset=75";"server5"
>> "6";1;"sip:sip:1.2.3.9";"handset=75";"server6"
>> "7";1;"sip:sip:1.2.3.10";"handset=75";"server7"
>> "8";1;"sip:1.2.3.11";"handset=75";"server8"
>> "9";1;"sip:1.2.3.12";"handset=75";"server9"
>> "10";1;"sip:1.2.3.13";"handset=75";"server10"
>> "11";1;"sip:1.2.3.14";"handset=75";"server11"
>> "12";1;"sip:1.2.3.15";"handset=75";"server12"
>> "13";1;"sip:1.2.3.16";"handset=75";"server13"
>>
>> When active, it seems the load balancer is only sending to the first 4
>> servers in the list:
>>
>> [root at cloud_registrar_lb mnt]# opensipsctl fifo lb_list
>> Destination:: sip:1.2.3.4 id=1
>>    Resource:: handset max=75 load=75
>> Destination:: sip:1.2.3.5 id=2
>>    Resource:: handset max=75 load=75
>> Destination:: sip:1.2.3.6 id=3
>>    Resource:: handset max=75 load=75
>> Destination:: sip:1.2.3.7 id=4
>>    Resource:: handset max=75 load=75
>> Destination:: sip:1.2.3.8 id=5
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.9 id=6
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.10 id=7
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.11 id=8
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.12 id=9
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.13 id=10
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.14 id=11
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.15 id=12
>>    Resource:: handset max=75 load=0
>> Destination:: sip:1.2.3.16 id=13
>>    Resource:: handset max=75 load=0
>>
>> I don't see anything in the log identifying that we're even try to send
>> anything beyond the first 4 servers, and an ngrep confirms that it's
>> essentially balancing messages to just the first four without trying the
>> rest.
>>
>> Any thoughts?  I'm using the 1.5.1 version of the load balancer.
>>
>> Thanks,
>>
>> Bobby S
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090714/030e1399/attachment.htm 


More information about the Users mailing list