Re: [OpenSIPS-Users] auto scaling

2019-03-11 Thread Slava Bendersky
Hello Bogdan, My question how to calculate correctly tcp_workers udp_workers to properly assign with in auto scaling profile. Which parameters need use as base ? As example if vm 4GB memory up what will be max number for scale up processes and what should be value for tcp and udp

Re: [OpenSIPS-Users] RTP proxy dialog impacted by async

2019-03-11 Thread Bogdan-Andrei Iancu
Let me try to reproduce it quickly. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/11/2019 10:37 AM, Callum Guy wrote: Hi Bogdan, Yes, that's correct. In my

Re: [OpenSIPS-Users] locally generated replies

2019-03-11 Thread Pasan Meemaduma via Users
Hi Bogdan, I'll try to get this info and examine. Thanks for the follow up :) On Monday, 11 March 2019, 1:43:13 PM GMT+5:30, Bogdan-Andrei Iancu wrote: Hi Pasan, I doubt that fix_route_dialog() is doing something wrong :D. Maybe there is something wrong with the signaling / cfg.

Re: [OpenSIPS-Users] usrloc hash_size

2019-03-11 Thread Pasan Meemaduma via Users
Hi Bogdan, Thanks for the explanation. On Monday, 11 March 2019, 1:20:20 PM GMT+5:30, Bogdan-Andrei Iancu wrote: Hi Pasan, All the registrations will evenly distribute across all hash entries, so for 512 entries and 20k regs -> 2 / 512 = 39 regs per entry, which is quite

Re: [OpenSIPS-Users] locally generated replies

2019-03-11 Thread Bogdan-Andrei Iancu
Hi Pasan, I doubt that fix_route_dialog() is doing something wrong :D. Maybe there is something wrong with the signaling / cfg. After the call is established, do a "opensipsctl fifo dlg_list " to see the dialog details as learned by OpenSIPS. Also post the incoming BYE, to see how does it

Re: [OpenSIPS-Users] usrloc hash_size

2019-03-11 Thread Bogdan-Andrei Iancu
Hi Pasan, All the registrations will evenly distribute across all hash entries, so for 512 entries and 20k regs -> 2 / 512 = 39 regs per entry, which is quite decent size for a map. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com

Re: [OpenSIPS-Users] auto scaling

2019-03-11 Thread Bogdan-Andrei Iancu
Hi Slava, Based on the OpenSIPS logs, did you get that error on the first forking attempt or sometime later after some number of new tcp processes forking ? More or less, my question is : what was the process creation/termination history before getting that bug log ? Also I just pushed a

Re: [OpenSIPS-Users] RTP proxy dialog impacted by async

2019-03-11 Thread Bogdan-Andrei Iancu
Hi, Shortly said, if you do rtpproxy_engage() *before* an async call, the create session is not triggered ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On

[OpenSIPS-Users] usrloc hash_size

2019-03-11 Thread Pasan Meemaduma via Users
Hi Guys, How do I calculate the required hash table size depend on the number of registrations in the location table ?. I have about 20K registrations in my location table. The default hash_size of 9 means 512 entries, but thats not the actual no. registrations right ? Its definition doesn't