<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Yury,<br>
      <br>
      trying to recap here - after completely removing the auto-scaling,
      do you still have issues with fetching the pkg stats?<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 9/22/22 5:39 PM, Yury Kirsanov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAD1_sesz7A785QSwFO2NBAaDg3vrw+NnO64CzkCzNFonBXLsww@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Bogdan,
        <div>Sorry, I just realized that I haven't turned off the
          auto-scaler for UDP processes so you're right - that error is
          for them. I've switched TCP auto-scaling off due to all my
          previous issues that I wasn't able to overcome.</div>
        <div><br>
        </div>
        <div>auto_scaling_profile = PROFILE_UDP<br>
               scale up to 32 on 80% for 4 cycles within 5<br>
               scale down to 2 on 10% for 5 cycles<br>
        </div>
        <div><br>
        </div>
        <div>udp_workers=1 use_auto_scaling_profile PROFILE_UDP<br>
        </div>
        <div><br>
        </div>
        <div>socket=udp:10.x.x.x:5060<br>
        </div>
        <div>socket=udp:103.x.x.x:7060<br>
        </div>
        <div><br>
        </div>
        <div>In regards to pkg memory - I only have 32MB as -M
          parameter, maybe that's not enough? I'm not sure how to do
          'pkg dump' - never tried to do that before, is this what
          you're asking about?</div>
        <div><br>
        </div>
        <div>Sep 21 18:52:09 ERROR:core:signal_pkg_status: failed to
          trigger pkg stats for process 45<br>
        </div>
        <span class="gmail-im" style="color:rgb(80,0,80)">
          <div> opensips-cli -x mi ps<br>
            {<br>
                "Processes": [<br>
          </div>
        </span>
        <div>...</div>
        <div>        {<br>
        </div>
        <div><span class="gmail-im" style="color:rgb(80,0,80)">         
              "ID": 45,<br>
                        "PID": 310115,<br>
                        "Type": "SIP receiver udp:103.x.x.x:7060"<br>
                    }<br>
                ]<br>
            }<br>
          </span>root@osgw1:~# opensips-cli -x mi mem_pkg_dump 310115<br>
          ERROR: command 'mem_pkg_dump' returned: 500: Internal error<br>
        </div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>Yury.</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>