Re: [SR-Users] RTPProxy benchmark

2016-11-15 Thread Gholamreza Sabery
Yes. I finish the session at the end of each call. Also I am using rtpproxy_manage("r"). My configuration regarding RTPProxy is default config which comes with Kamailio sample config file. On Tue, Nov 15, 2016 at 11:44 AM, Dragos Oancea wrote: > Hi > > Increase fs.file-max in your /etc/sysctl.co

Re: [SR-Users] RTPProxy benchmark

2016-11-15 Thread Dragos Oancea
Hi Increase fs.file-max in your /etc/sysctl.conf . eg: fs.file-max = 5 And then do sysctl -p Decrease SILENT_TIMEOUT in your rtpengine.conf (eg:SILENT_TIMEOUT=120) - it's default 1 hour and if some calls don't have media then rtpengine will just keep the UDP ports in use until this timeout exp

Re: [SR-Users] RTPProxy benchmark

2016-11-15 Thread Daniel-Constantin Mierla
Are you ending the rtp proxy sessions when the call are ended? What rtpproxy functions are you using in the configuration file? Cheers, Daniel On 14/11/16 18:18, Gholamreza Sabery wrote: > No not the first time. But over time. I rebooted my system and error > is gone! It seems that it happens ov

Re: [SR-Users] RTPProxy benchmark

2016-11-14 Thread Gholamreza Sabery
No not the first time. But over time. I rebooted my system and error is gone! It seems that it happens over time. On Mon, Nov 14, 2016 at 6:12 PM, Daniel-Constantin Mierla wrote: > Are you getting the error first time when you reach first 1900 sessions? > Or after a while, after some previous se

Re: [SR-Users] RTPProxy benchmark

2016-11-14 Thread Daniel-Constantin Mierla
Are you getting the error first time when you reach first 1900 sessions? Or after a while, after some previous sessions are ended? Cheers, Daniel On 14/11/16 11:19, Gholamreza Sabery wrote: > I already set these parameters: > > rtpproxy -m 5000 -M 65000 > > As well limits for number of open files

Re: [SR-Users] RTPProxy benchmark

2016-11-14 Thread Gholamreza Sabery
I already set these parameters: rtpproxy -m 5000 -M 65000 As well limits for number of open files are set to 100 (ulimit -n). When I increased log level of RTPProxy I saw: ERR:create_twinlistener:GENERAL: can't create IPv4 socket: Too many open files in system On Mon, Nov 14, 2016 at 1:46 P

Re: [SR-Users] RTPProxy benchmark

2016-11-14 Thread Daniel-Constantin Mierla
Hello, first thing to look at is the port range. There are some parameter that you can provide to rtpproxy in command line in order to increase the range of port it can use -- see 'rtpproxy -h' or 'man rtpproxy'. Cheers, Daniel On 14/11/16 11:14, Gholamreza Sabery wrote: > Dear Daniel: > > I us

Re: [SR-Users] RTPProxy benchmark

2016-11-14 Thread Gholamreza Sabery
Dear Daniel: I used a single RTPProxy instance. RTPProxy version = 20040107. And yes there was traffic for all calls but traffic is one-way. One leg sends the call and the other just receives it. On Mon, Nov 14, 2016 at 1:40 PM, Daniel-Constantin Mierla wrote: > Hello, > > have you used a singl

Re: [SR-Users] RTPProxy benchmark

2016-11-14 Thread Daniel-Constantin Mierla
Hello, have you used a single rtpproxy instance? Was there RTP traffic for all 1900 calls? Is this with rtpproxy 1.2 or 2.0? Cheers, Daniel On 14/11/16 10:44, Gholamreza Sabery wrote: > I managed to create about 1900 concurrent calls using a single > Kamailio and RTPProxy server. But after this