<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Yury,<br>
      <br>
      OK, but could you try to see the relation between the pkg status
      and errors, like such errors appear after:<br>
          * simple scaling up ?<br>
          * simple scaling down ?<br>
          * scaling up and down ?<br>
      <br>
      Thanks,<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 10/12/22 1:34 AM, Yury Kirsanov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAD1_sevqc0EGhttSZJXBcnb5v-vtFaycCmXqYZgLF5kPDvC7OQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Bogdan,
        <div>No, after I removed all the autoscaling I'm not getting any
          'core:signal_pkg_status' errors.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Yury.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Oct 11, 2022 at 10:56
          PM Bogdan-Andrei Iancu <<a
            href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div> <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 cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
  <a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
            <div>On 9/22/22 5:39 PM, Yury Kirsanov wrote:<br>
            </div>
            <blockquote type="cite">
              <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 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 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>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>