<div dir="ltr">Hi All,<div><br></div><div>We have successfully tested the auto-scaling in opensips after reading the blog.</div><div><u><a href="https://blog.opensips.org/2019/02/25/auto-process-scaling-a-cure-for-load-and-resources-concerns/">https://blog.opensips.org/2019/02/25/auto-process-scaling-a-cure-for-load-and-resources-concerns/</a></u> <br></div><div><br></div><div>But, I am confused with two things,</div><div>1. How opensips calculates load to scale the processes UP/DOWN. Is there any function that we can use to check the load or any kind of xlog so that we can print in our config.</div><div>2. The config which i am running is scaling up the process when we are adding (<b>log_level=4</b>) not for <b>log_level=3</b>. Is it specific that we have to use log_level=<b>4</b>.<br></div><div><br></div><div><font face="monospace">version: opensips 3.1.0 (x86_64/linux)<br></font></div><div><font face="monospace">flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll, sigio_rt, select.<br>svn revision: 3748:3779M<br>main.c compiled on 06:18:30 Feb  1 2021 with gcc 5.4.0</font><br></div><div><br></div><div>Below is the basic of my configuration<br></div><div><br></div><div><b style=""><font face="monospace">log_level=4<br>log_stderror=no<br>log_facility=LOG_LOCAL5<br>memlog=2<br>disable_dns_blacklist=no<br><br>auto_scaling_profile = PROFILE_SIP<br> scale up to 6 on 40% for 4 cycles within 5<br> scale down to 2 on 1% for 8 cycles<br><br>socket=udp:20.0.xx.xxx:5507 AS 54.227.xx.xx:5507 use_auto_scaling_profile PROFILE_SIP</font></b></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards<div>Saurabh Chopra</div><div>+918861979979</div></div></div></div></div></div>