No voice in mediaproxy 2.3.8

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

No voice in mediaproxy 2.3.8

Jiang Jinke
Dear All,

I'm having the following error with mediaproxyx 2.3.8, and all the call
will have no voice after running mediaproxy for a few days in a high
loading (40 calls) server.

I check the new mediaproxy with the same line in send, there is no
such getHost call.
Is this a fixed issue in the latest version ?
I haven't tried the new mediaproxy yet because I need to do some tests
to make sure it
will running fine in the production environment before upgrade.

Exception caught:

Mar 12 12:22:54 hkcn-p2 media-relay[3373]: --- <exception caught here> ---
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/internet/udp.py",
line 126, in doRead
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:
self.protocol.datagramReceived(data, addr)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
127, in datagramReceived
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     self.cb_func(host, port, data)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
184, in got_data
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:
self.substream.send_data(self, data)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
264, in send_data
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     dest.listener.protocol.send(data)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
136, in send
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     host = self.transport.getHost()
Mar 12 12:22:54 hkcn-p2 media-relay[3373]: exceptions.AttributeError:
'NoneType' object has no attribute 'getHost'
Mar 12 12:22:54 hkcn-p2 media-relay[3373]: Traceback (most recent call last):
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/python/log.py",
line 69, in callWithContext
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     return
context.call({ILogContext: newCtx}, func, *args, **kw)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     return
self.currentContext().callWithContext(ctx, func, *args, **kw)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     return func(*args,**kw)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/internet/epollreactor.py",
line 231, in _doReadOrWrite
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     why = selectable.doRead()

Regards,
Jinke Jiang

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: No voice in mediaproxy 2.3.8

Saúl Ibarra Corretgé
Hi,


On 12/3/10 6:04 AM, Jiang Jinke wrote:

> Dear All,
>
> I'm having the following error with mediaproxyx 2.3.8, and all the call
> will have no voice after running mediaproxy for a few days in a high
> loading (40 calls) server.
>
> I check the new mediaproxy with the same line in send, there is no
> such getHost call.
> Is this a fixed issue in the latest version ?
> I haven't tried the new mediaproxy yet because I need to do some tests
> to make sure it
> will running fine in the production environment before upgrade.
>

Could you elaborate a bit more on how you reproduce this? I haven seen
it myself. However, that particular piece of code was refactored
recently, so you may want to try MediaProxy 2.4.2.

If same is happening please let me know so it can be fixed.


Regards,


PS: I've noticed you are using python 2.4, you'll need to update to
python 2.5 for running latest version.

--
Saúl Ibarra Corretgé
AG Projects

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: No voice in mediaproxy 2.3.8

Jiang Jinke
Hi,

Thanks for your reply.

I re-check the system and found there is a raid fail message pops up
in the dmesg.
[root ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
      104320 blocks [2/2] [UU]

md3 : active raid1 sdb2[1] sda2[2](F)
      432983808 blocks [2/1] [_U]

When I remove one of the raid disk, the mediaproxy goes wrong again.

Remove by
[root ~]# mdadm /dev/md3 --remove /dev/sda2

Restarted again, and works fine now.
I'm wonder if there is anything affect the mediaproxy while doing
mdadm remove/add, set fail operation ?

I did try mediaproxy 2.4.1 in my test server, will try to upgrade to
2.4.2 if possible later. Thanks again.

Regards,
Jinke Jiang

On Fri, Mar 12, 2010 at 3:59 PM, Saúl Ibarra Corretgé
<[hidden email]> wrote:

> Hi,
>
>
> On 12/3/10 6:04 AM, Jiang Jinke wrote:
>> Dear All,
>>
>> I'm having the following error with mediaproxyx 2.3.8, and all the call
>> will have no voice after running mediaproxy for a few days in a high
>> loading (40 calls) server.
>>
>> I check the new mediaproxy with the same line in send, there is no
>> such getHost call.
>> Is this a fixed issue in the latest version ?
>> I haven't tried the new mediaproxy yet because I need to do some tests
>> to make sure it
>> will running fine in the production environment before upgrade.
>>
>
> Could you elaborate a bit more on how you reproduce this? I haven seen
> it myself. However, that particular piece of code was refactored
> recently, so you may want to try MediaProxy 2.4.2.
>
> If same is happening please let me know so it can be fixed.
>
>
> Regards,
>
>
> PS: I've noticed you are using python 2.4, you'll need to update to
> python 2.5 for running latest version.
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: No voice in mediaproxy 2.3.8

Saúl Ibarra Corretgé
Hi,

On 12/3/10 9:30 AM, Jiang Jinke wrote:

> Hi,
>
> Thanks for your reply.
>
> I re-check the system and found there is a raid fail message pops up
> in the dmesg.
> [root ~]# cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 sdb1[1] sda1[0]
>        104320 blocks [2/2] [UU]
>
> md3 : active raid1 sdb2[1] sda2[2](F)
>        432983808 blocks [2/1] [_U]
>
> When I remove one of the raid disk, the mediaproxy goes wrong again.
>
> Remove by
> [root ~]# mdadm /dev/md3 --remove /dev/sda2
>
> Restarted again, and works fine now.
> I'm wonder if there is anything affect the mediaproxy while doing
> mdadm remove/add, set fail operation ?
>

MediaProxy doesn't do anything with physical block devices, however,
having an unstable or failing server may lead to unexpected behavior.

> I did try mediaproxy 2.4.1 in my test server, will try to upgrade to
> 2.4.2 if possible later. Thanks again.
>

Yes, the best would be to test version 2.4.2 on a 'clean' environment so
that results are not altered by side factors.


Regards,

--
Saúl Ibarra Corretgé
AG Projects

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users