Hi Jorge,
The errors you mentioned are not LB related at all it seems that your
rtpproxy is not answering (and opensips blocking in communication with it).
To try to see what is your slowest part in the script, you can do script
troubleshooting via exec_msg_threashold (see
http://www.opensips.org/Resources/DocsCoreFcn18#toc49) - this will list
you the most time consuming functions from the script if the threshold
is hit.
Regarding the DB, I suggest db_mode 2 (delayed) as it has a lower impact
on performance.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 12/07/2012 12:53 AM, Jorge Ortea wrote:
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 answer
ERROR: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: bog...@opensips.org
To: users@lists.opensips.org
CC: dar...@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@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users