[SR-Users] RTPProxy benchmark

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 15 09:01:24 CET 2016


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 over time.
>
> On Mon, Nov 14, 2016 at 6:12 PM, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     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 are set to 1000000
>>     (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 PM, Daniel-Constantin Mierla
>>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>
>>         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 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
>>>         <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>>
>>>             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
>>>>             number RTPProxy returns 0 and the following error is
>>>>             shown in the Kamailio log files:
>>>>
>>>>             incorrect port 0 in reply from rtp proxy
>>>>             What is the problem here? Also number of file
>>>>             descriptors that RTPProxy can use are set to a million.
>>>>
>>>>
>>>>
>>>>             _______________________________________________
>>>>             SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>             sr-users at lists.sip-router.org
>>>>             <mailto:sr-users at lists.sip-router.org>
>>>>             http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>             <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>>>
>>>             -- 
>>>             Daniel-Constantin Mierla
>>>             http://twitter.com/#!/miconda
>>>             <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>>             <http://www.linkedin.com/in/miconda>
>>>             Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
>>>
>>>             _______________________________________________ SIP
>>>             Express Router (SER) and Kamailio (OpenSER) - sr-users
>>>             mailing list sr-users at lists.sip-router.org
>>>             <mailto:sr-users at lists.sip-router.org>
>>>             http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>             <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>>>
>>>
>>         -- 
>>         Daniel-Constantin Mierla
>>         http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>         <http://www.linkedin.com/in/miconda>
>>         Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
>>
>     -- 
>     Daniel-Constantin Mierla
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>     <http://www.linkedin.com/in/miconda>
>     Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
>
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161115/434f66dc/attachment.html>


More information about the sr-users mailing list