<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Yury,<br>
<br>
And when that scaling up happens, do you actually have traffic ?
or your OpenSIPS is idle ?<br>
<br>
Also, could you run `</font><font face="monospace">opensips-cli -x
mi get_statistics load:` (not the colon at the end).<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2022Athens/">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
<div class="moz-cite-prefix">On 8/25/22 10:57 AM, Yury Kirsanov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD1_set95WNJmGKAzOcSM7z9U58t3VaFKhkgivV5-zP_W=m=gQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div>I've ran into a strange issue, if I enable autoscaler on
OpenSIPS 3.2.x (tried 5,6,7 and now 8) on a server without any
load using 'socket' statement like this:</div>
<div><br>
</div>
<div>auto_scaling_profile = PROFILE_UDP_PRIV<br>
scale up to 16 on 30% for 4 cycles within 5<br>
scale down to 2 on 10% for 5 cycles<br>
<br>
</div>
<div>udp_workers=4<br>
<br>
</div>
<div>socket=udp:10.x.x.x:5060 use_auto_scaling_profile
PROFILE_UDP_PRIV<br>
</div>
<div><br>
</div>
<div>then after a while OpenSIPS load goes up to some high
number, autoscaler starts to open new processes up to a
maximum number specified in profile and them load stays at
that number, for example:</div>
<div><br>
</div>
<div>opensips-cli -x mi get_statistics load<br>
{<br>
"load:load": 60<br>
}<br>
</div>
<div><br>
</div>
<div>It never changes and looks just 'stuck'.</div>
<div><br>
</div>
<div>Any ideas why this is happening in my case? Or should I
file a bug report? Thanks.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Yury.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>