[OpenSIPS-Users] mi_datagram: causing a load average of 9

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jun 2 17:17:30 CEST 2010


Hi Mike,

have you tried to use the unix socks, but with only one listener process 
configured to mi_datagram ? maybe this will avoid the load issue.

Regards,
Bogdan

Mike O'Connor wrote:
> Hi Guys
>
> So I thought I had fixed the issue by using UDP, but it looks like the
> code for mediaproxy dispatcher does not support using UDP for the
> mi_datagram interface in OpenSIPS.
>
> So my problem is simple, I can not use a unix socket because it causes a
> high load average, but mediaproxy does not support UDP.
>
> Reading the twisted docs it does not look like it would be hard to
> support, but I do not have the experience to be sure.
>
> Mike
>
>
> On 13/05/10 10:40 PM, Mike O'Connor wrote:
>   
>> Yes that does look like the exact problem.
>>
>> I'll have to try the UDP option and see if it gives any errors.
>>
>> Mike
>>
>>
>>
>> On 12/05/10 8:32 PM, Andrei Dragus wrote:
>>   
>>     
>>> Hi,
>>>
>>> I think this was discussed before, see:
>>>
>>> http://lists.opensips.org/pipermail/users/2009-December/009714.html
>>>
>>> Andrei
>>>
>>> Mike O'Connor wrote:
>>>   
>>>     
>>>       
>>>> On 12/05/10 5:00 PM, Saúl Ibarra Corretgé wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Hi,
>>>>>
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>>> As soon as opensips is started, and it continues for ever. I did not
>>>>>> notice it for a couple of days after I added the configuration, but it
>>>>>> had been there from that point. My munin graphs confirmed this.
>>>>>>
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>>> So we can assume MediaProxy is not generating that load, because it
>>>>> happens when you start OpenSIPS, right? Besides, MediaProxy doesn't do
>>>>> any polling on that socket, so I don't see a reason for that high load
>>>>> there.
>>>>>
>>>>> Could there be any other software that is connecting to that socket? I
>>>>> have never experienced this so far, so I can just guess here... :-S
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> I do not think anything else is using it, I not installed anything which
>>>> mentions it.
>>>>
>>>> Is it possible for mediaproxy and opensips to use the udp option ?
>>>>
>>>> ie udp:10.1.5.243:8080
>>>>
>>>> Mike
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>   
>>>>     
>>>>       
>>>>         
>>>   
>>>     
>>>       
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>   
>>     
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list