<p>Hi,</p>

<p>I have a dispatcher group with 30 destinations. When all are active the spreading of load is good.<br>
When I disable one of these destinations through opensipsctl fifo ds_set_state. <br>
One seemingly random destination gets double the load that is normally handled by one destination, instead of the load being spread over to all remaining destinations. When i re-activate the destination the load on the one destination is back to normal. <br>
If i disable more than one destination this also seems to be true, I've had one occasion in which one destination got triple the normal load.<br>
So it seems the balancing is borked when i disable a destination.</p>

<p>I'm using the ds_select_domain with algorithm 0.</p>

<p>If you need any more information please tell.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/387">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcif-kTsRiZ74YW5SACL_VKGXfCDMHks5nQvgGgaJpZM4C_xjJ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/387"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>