Hi,
Thanks! The docs are broken, the correct formula (it's also how the code
actually works) is:
/max_load = (*Idle-CPU* / 100) * (*Max-Sessions* - (///*Sessions *-
/profile_count))/
The "profile_count" is nothing more than the current usage of the given
resource, as the load balancer sees it. As implemented, the load
balancer makes use of dialog profiles to keep track of the number of
calls balanced to each destination. Maybe I should also rename it to
something easier to digest, such as "current_res_usage".
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 01.11.2017 00:34, Social Boh wrote:
Hello,
I'm studying this formula:
/max_load = (*Idle-CPU* / 100) * (*Max-Sessions* - (profile_count -
*Sessions*))/
from load_balancer module on OpenSIPs 2.3.
Where does profile_count take his value?
Regards/
/
--
---
I'm SoCIaL, MayBe
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users