[OpenSIPS-Users] Load Balancing
Jorge Ortea
darham at hotmail.com
Thu Dec 6 23:53:04 CET 2012
Hello Bogdan-Andrei,
When I said that load_balance function returns null I meant that after run it $du is null.
These are some errors just before that load_balance function fails:
ERROR:mediaproxy:send_command: did timeout waiting for an answerERROR:uri:check_username: No authorized credentials found (error in scripts)ERROR:uri:check_username: Call {www,proxy}_authorize before calling check_* functions!
I don't know if these errors mean anything for you. My OpenSIPS version is 1.6.4-2
Parsing your words I think that perhaps OpenSIPS+Mediaproxy hasn't hardware resources enough . Further db_mode parameter of dialog module is 1-REALTIME, Can be it detrimental to performance too?
My DB is MySQL 5.1 with Engine=MyISAM. Is there any document about optimal configuration parameters for mysql ?
Very much Thanks.Regards.
Date: Thu, 6 Dec 2012 15:33:27 +0200
From: bogdan at opensips.org
To: users at lists.opensips.org
CC: darham at hotmail.com
Subject: Re: [OpenSIPS-Users] Load Balancing
Hi Jorge,
LB modules is quite stable, maybe the status was not updated.
I cannot comment on the issues you had with the throughput as LB
depends on Dialog, dialog uses DB, so it really depends on how
good is your configuration.
LB function cannot return NULL, but a negative return code if no
destination was selected - the logs should indicate you the nature
of the failure. It is all about reading logs :)
Now, about DR - with 1.8 you can spread the load over multiple GWs
in the same rule - simply put all the GWs in a list in the rule
and when doing do_routing, use the W (weight parameter).
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 12/06/2012 02:11 PM, Jorge Ortea wrote:
Hi all,
I have a voip platform with OpenSIPS and several asterisk
behind. I'm using Load-Balancer module, but I don't seem very
reliable, sometimes when take place very much CPS, load_balance
function returns null.
I noticed that Load-Balancer module has beta status, perhaps
that is why this module has not enough stability. However, I
don't know how can I reach distribute calls on platform,
Drouting module does not seem can to do it, this module flood
delivers up to the next, Am I right?
What other option can offer OpenSIPS?
Thanks.
Regards.
_______________________________________________
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/20121206/6ab5d5e7/attachment.htm>
More information about the Users
mailing list