[OpenSIPS-Users] profile_count formula
liviu at opensips.org
Wed Nov 1 10:41:33 EDT 2017
The new docs should be working now. And yes, that is the "profile_count"
The resources internally become normal (non-shared) dialog profiles by
default. If you want to share resource usage between multiple load
balancers, you must add the "/b" extension to your resource names,
indicating you want them to be "binary replicated".
On 01.11.2017 16:07, Social Boh wrote:
> Thank you for your answer, Liviu.
> So if I use a resource with name channels and between all
> servers/gateway configured I'm using 200 channels, this is the
> profile_count value
> I'm SoCIaL, MayBe
> El 01/11/2017 a las 01:33, Liviu Chircu escribió:
>> 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 *-
>> 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
>> On 01.11.2017 00:34, Social Boh wrote:
>>> I'm studying this formula:
>>> /max_load = (*Idle-CPU* / 100) * (*Max-Sessions* - (profile_count -
>>> from load_balancer module on OpenSIPs 2.3.
>>> Where does profile_count take his value?
>>> I'm SoCIaL, MayBe
>>> Users mailing list
>>> Users at lists.opensips.org
>> Users mailing list
>> Users at lists.opensips.org
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users