[OpenSIPS-Users] auto scaling

Slava Bendersky volga629 at networklab.ca
Sun Mar 10 11:12:49 EDT 2019


Hello Everyone, 
Trying test auto scaling feature with following config 



auto_scaling_profile = PRF_SIP 
scale up to 24 on 70% for 4 cycles within 5 
scale down to 4 on 20% for 8 cycles 


On box 4096 Mb memory and 4 virtual CPU 


Getting in log 


CRITICAL:core:fork_dynamic_tcp_process: #012>>> trying to fork one more TCP worker but no free slots in the TCP table#012#012It seems you have hit a programming bug.#012Please help us make OpenSIPS better by reporting it at https://github.com/OpenSIPS/opensips/issues 




Not clear how to calculate workers for tcp or udp 


tcp_workers=10 use_auto_scaling_profile PRF_SIP 
listen=udp:lan_ip:5060 use_auto_scaling_profile PRF_SIP 





[root at vprx00 ~]# opensips -V 
version: opensips 3.0.0-dev (x86_64/linux) 
flags: STATS: On, SHM_EXTRA_STATS, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT 
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 
poll method support: poll, epoll, sigio_rt, select. 
main.c compiled on 10:06:47 Mar 7 2019 with gcc 8 




volga629 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190310/5bb59b7b/attachment.html>


More information about the Users mailing list