Hi Yury,

trying to recap here - after completely removing the auto-scaling, do you still have issues with fetching the pkg stats?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/22/22 5:39 PM, Yury Kirsanov wrote:
Hi Bogdan,
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.

auto_scaling_profile = PROFILE_UDP
     scale up to 32 on 80% for 4 cycles within 5
     scale down to 2 on 10% for 5 cycles

udp_workers=1 use_auto_scaling_profile PROFILE_UDP

socket=udp:10.x.x.x:5060
socket=udp:103.x.x.x:7060

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?

Sep 21 18:52:09 ERROR:core:signal_pkg_status: failed to trigger pkg stats for process 45
 opensips-cli -x mi ps
{
    "Processes": [
...
        {
  "ID": 45,
            "PID": 310115,
            "Type": "SIP receiver udp:103.x.x.x:7060"
        }
    ]
}
root@osgw1:~# opensips-cli -x mi mem_pkg_dump 310115
ERROR: command 'mem_pkg_dump' returned: 500: Internal error

Best regards,
Yury.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to