Re: [OpenSIPS-Users] Opensips + rtpproxy issue
Hi Miha, sorry to hear about your issues. In order to troubleshoot it further could you please also provide rtpproxy package version as reported by the system package manager (apt, rpm etc) if the software has been installed via that channel or branch name if it's been built from sources? Unfortunately version reporting of the --version command has been bit crippled until recently, already improved in latest master and 2.1 I believe. In general performance under virtual environment has not been terrific, due to some design choices made early in our work. Hovewer I believe it should be much better in 2.0 and 2.1 vs. 1.x series. Some of it is inherently due to VM scheduling jitter, some is because we are unwilling to put it into unsafe domain (i.e. kernel mode). As a rule of thumb, you might expect 3-5x drop in max pps until jitter becomes an issue as compared to running on comparable bare metal. Spinning multiple instances might help to mitigate some of it though, but it also depends on hypervisor version and even particular CPU generation. -Max On Tue., May 5, 2020, 6:10 a.m. Miha via Users, wrote: > Hello > > we have virtualized opensips and rtpproxy running on the same server which > is virtualized in vmware infrastructure. Servers are not old, also traffic > is not so big (cca 50 simultaneous calls). when there is a peak cca 80 > simultaneous calls RTP starts to break. > > is there any special setting/flag to be set, so that I can optimze this? > load on VM is very low. > > rtpproxy -version > Basic version: 20040107 > > Opensips is 2.1 > > > thank you for help. > Miha > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips + rtpproxy issue
Hi Miha If you are seeing issues on A leg, RTPPROXY didn't even processed the call, right? Probably you have bandwidth limitation or maybe I/O problems on your server. Start checking bandwidth. Regards On Tue, May 5, 2020 at 2:13 PM wrote: > Hello Danies > >- what do you mean by enough max open do files? I do no linit or set >anything >- I traced with tshark and i can see issue with A and B leg > > > Thank you for help! > Br > Miha > > Miha > On 5 May 2020, 16:07 +0200, Daniel Zanutti , > wrote: > > No special configuration, we just set IP's and ports. > > Since CPU is not your problem, I believe you have some kind of bandwidth > limitation in your network. > > I suggest you confirm: > 1) You have enough max open files in your rtpproxy process -> > /proc/PID/limits > 2) Where the bottleneck is: CPU, IO or bandwidth. You can record some > packets in wireshark inside RTPPROXY machine and confirm audio is > distorted before and after rtpproxy. > > Regards > > > On Tue, May 5, 2020 at 10:35 AM Miha wrote: > >> Hi, >> >> no CPU usage is around 1% to 5%, basically nothing. >> In sound there is big distortion it is impossibly to >> comunicate with each other. >> >> We have two cors deticated to it. Do you have any special >> thing set on it? >> >> tnx >> miha >> >> On Tue, 5 May 2020 10:27:22 -0300 >> Daniel Zanutti wrote: >> > Hi Miha >> > >> > Could you explaining how does it break? We use it in >> > virtual machines and >> > our safe limit is around 500 simultaneous calls, on >> > dedicated single core >> > VPS. Does CPU usage reach 100%? >> > >> > >> > >> > On Tue, May 5, 2020 at 10:11 AM Miha via Users >> > >> > wrote: >> > >> > > Hello >> > > >> > > we have virtualized opensips and rtpproxy running on >> > the same server which >> > > is virtualized in vmware infrastructure. Servers are >> > not old, also traffic >> > > is not so big (cca 50 simultaneous calls). when there >> > is a peak cca 80 >> > > simultaneous calls RTP starts to break. >> > > >> > > is there any special setting/flag to be set, so that I >> > can optimze this? >> > > load on VM is very low. >> > > >> > > rtpproxy -version >> > > Basic version: 20040107 >> > > >> > > Opensips is 2.1 >> > > >> > > >> > > thank you for help. >> > > Miha >> > > ___ >> > > Users mailing list >> > > Users@lists.opensips.org >> > > >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > >> >> ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips + rtpproxy issue
Hello Danies • what do you mean by enough max open do files? I do no linit or set anything • I traced with tshark and i can see issue with A and B leg Thank you for help! Br Miha Miha On 5 May 2020, 16:07 +0200, Daniel Zanutti , wrote: > No special configuration, we just set IP's and ports. > > Since CPU is not your problem, I believe you have some kind of bandwidth > limitation in your network. > > I suggest you confirm: > 1) You have enough max open files in your rtpproxy process -> /proc/PID/limits > 2) Where the bottleneck is: CPU, IO or bandwidth. You can record some packets > in wireshark inside RTPPROXY machine and confirm audio is distorted before > and after rtpproxy. > > Regards > > > > On Tue, May 5, 2020 at 10:35 AM Miha wrote: > > > Hi, > > > > > > no CPU usage is around 1% to 5%, basically nothing. > > > In sound there is big distortion it is impossibly to > > > comunicate with each other. > > > > > > We have two cors deticated to it. Do you have any special > > > thing set on it? > > > > > > tnx > > > miha > > > > > > On Tue, 5 May 2020 10:27:22 -0300 > > > Daniel Zanutti wrote: > > > > Hi Miha > > > > > > > > Could you explaining how does it break? We use it in > > > > virtual machines and > > > > our safe limit is around 500 simultaneous calls, on > > > > dedicated single core > > > > VPS. Does CPU usage reach 100%? > > > > > > > > > > > > > > > > On Tue, May 5, 2020 at 10:11 AM Miha via Users > > > > > > > > wrote: > > > > > > > > > Hello > > > > > > > > > > we have virtualized opensips and rtpproxy running on > > > > the same server which > > > > > is virtualized in vmware infrastructure. Servers are > > > > not old, also traffic > > > > > is not so big (cca 50 simultaneous calls). when there > > > > is a peak cca 80 > > > > > simultaneous calls RTP starts to break. > > > > > > > > > > is there any special setting/flag to be set, so that I > > > > can optimze this? > > > > > load on VM is very low. > > > > > > > > > > rtpproxy -version > > > > > Basic version: 20040107 > > > > > > > > > > Opensips is 2.1 > > > > > > > > > > > > > > > thank you for help. > > > > > Miha > > > > > ___ > > > > > Users mailing list > > > > > Users@lists.opensips.org > > > > > > > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips + rtpproxy issue
No special configuration, we just set IP's and ports. Since CPU is not your problem, I believe you have some kind of bandwidth limitation in your network. I suggest you confirm: 1) You have enough max open files in your rtpproxy process -> /proc/PID/limits 2) Where the bottleneck is: CPU, IO or bandwidth. You can record some packets in wireshark inside RTPPROXY machine and confirm audio is distorted before and after rtpproxy. Regards On Tue, May 5, 2020 at 10:35 AM Miha wrote: > Hi, > > no CPU usage is around 1% to 5%, basically nothing. > In sound there is big distortion it is impossibly to > comunicate with each other. > > We have two cors deticated to it. Do you have any special > thing set on it? > > tnx > miha > > On Tue, 5 May 2020 10:27:22 -0300 > Daniel Zanutti wrote: > > Hi Miha > > > > Could you explaining how does it break? We use it in > > virtual machines and > > our safe limit is around 500 simultaneous calls, on > > dedicated single core > > VPS. Does CPU usage reach 100%? > > > > > > > > On Tue, May 5, 2020 at 10:11 AM Miha via Users > > > > wrote: > > > > > Hello > > > > > > we have virtualized opensips and rtpproxy running on > > the same server which > > > is virtualized in vmware infrastructure. Servers are > > not old, also traffic > > > is not so big (cca 50 simultaneous calls). when there > > is a peak cca 80 > > > simultaneous calls RTP starts to break. > > > > > > is there any special setting/flag to be set, so that I > > can optimze this? > > > load on VM is very low. > > > > > > rtpproxy -version > > > Basic version: 20040107 > > > > > > Opensips is 2.1 > > > > > > > > > thank you for help. > > > Miha > > > ___ > > > Users mailing list > > > Users@lists.opensips.org > > > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips + rtpproxy issue
Hi, no CPU usage is around 1% to 5%, basically nothing. In sound there is big distortion it is impossibly to comunicate with each other. We have two cors deticated to it. Do you have any special thing set on it? tnx miha On Tue, 5 May 2020 10:27:22 -0300 Daniel Zanutti wrote: > Hi Miha > > Could you explaining how does it break? We use it in > virtual machines and > our safe limit is around 500 simultaneous calls, on > dedicated single core > VPS. Does CPU usage reach 100%? > > > > On Tue, May 5, 2020 at 10:11 AM Miha via Users > > wrote: > > > Hello > > > > we have virtualized opensips and rtpproxy running on > the same server which > > is virtualized in vmware infrastructure. Servers are > not old, also traffic > > is not so big (cca 50 simultaneous calls). when there > is a peak cca 80 > > simultaneous calls RTP starts to break. > > > > is there any special setting/flag to be set, so that I > can optimze this? > > load on VM is very low. > > > > rtpproxy -version > > Basic version: 20040107 > > > > Opensips is 2.1 > > > > > > thank you for help. > > Miha > > ___ > > Users mailing list > > Users@lists.opensips.org > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips + rtpproxy issue
Hi Miha Could you explaining how does it break? We use it in virtual machines and our safe limit is around 500 simultaneous calls, on dedicated single core VPS. Does CPU usage reach 100%? On Tue, May 5, 2020 at 10:11 AM Miha via Users wrote: > Hello > > we have virtualized opensips and rtpproxy running on the same server which > is virtualized in vmware infrastructure. Servers are not old, also traffic > is not so big (cca 50 simultaneous calls). when there is a peak cca 80 > simultaneous calls RTP starts to break. > > is there any special setting/flag to be set, so that I can optimze this? > load on VM is very low. > > rtpproxy -version > Basic version: 20040107 > > Opensips is 2.1 > > > thank you for help. > Miha > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Opensips + rtpproxy issue
Hello we have virtualized opensips and rtpproxy running on the same server which is virtualized in vmware infrastructure. Servers are not old, also traffic is not so big (cca 50 simultaneous calls). when there is a peak cca 80 simultaneous calls RTP starts to break. is there any special setting/flag to be set, so that I can optimze this? load on VM is very low. rtpproxy -version Basic version: 20040107 Opensips is 2.1 thank you for help. Miha ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Fraud Module Negative Parameter
Hi All I'm getting negative parameter on Concurrent calls and sometime with call per minute like E_FRD_CRITICAL: concurrent calls;-1;30;. I have got the same result with different versions. opensipsctl fifo show_fraud_stats 1 1 140X calls per minute:: 1 total calls:: 146 concurrent calls:: *4294967292* sequential calls:: 4 version: opensips 2.4.7 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_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. git revision: d2f6529 main.c compiled on 06:29:06 Apr 27 2020 with gcc 4.8.5 if (!has_totag()) { record_route(); check_fraud("$fU", "$rU", "1"); if ($rc == 1) { xlog("Rule Match $fU $rU rc=$rc\n"); } xlog("rc $rc\n"); if ($rc < 0) { xlog("Problems for user $fU rc=$rc\n"); } } topology_hiding(); } route("RESOLVE_DOMAIN"); t_on_reply("REPLY"); route("RELAY"); Thanks Inder ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users