[Red5] Edge / Origin Disconnection (Stress Test)
Rakesh Kumar Gupta
rakesh at heulab.com
Wed Jun 25 13:17:17 PDT 2008
Hi,
The bandwidth is 1Gbits. We tried to connect the machine directly to one
another, but still this did not work either. The following error is
predominant. Can someone help me on this.
java.io.IOException: An existing connection was forcibly closed by the
remote host
2008-06-13 09:36:03,125 [pool-4-thread-4] WARN
o.r.s.net.mrtmp.OriginMRTMPHandler - Handle on a non-existent origin
connection!
The "handle on a non-existent origin connection" error appears for each
client. Hence if we started 20 clients, we will see 20 of the "handle on a
non-existent origin connection" errors.
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
Of Steven Gong
Sent: Saturday, June 14, 2008 7:33 AM
To: red5 at osflash.org
Subject: Re: [Red5] Edge / Origin Disconnection (Stress Test)
What is the connection bandwidth between Edge and Origin?
On Sun, Jun 15, 2008 at 1:14 AM, Rakesh Kumar Gupta <rakesh at heulab.com>
wrote:
Hi Guys,
We tried doing a stress test yesterday for a Red 5 Edge / Origin
Configuration but failed because of disconnection issues between the edge
and origin.
We would started one video every 10 seconds using browsers. The following is
our observation. Please help.
1. The first one would play, but intermittently, once the second or
third pc started playing, all would freeze and the will no longer be able to
play.
2. All subsequent videos will no longer play.
3. We have to kill the Red5 edge server and start it up again without
killing the origin server and it will start to play once more.
a. Implies that the red5 edge server stops accepting connections.
4. On a subsequent restart, we only played one video and it managed to
complete. When we add more videos, it is very intermittent -> sometimes we
can go up to 5 video all playing and the 6th one will hang the server.
5. The origin server has the following logs when it all hangs
2008-06-13 09:35:29,250 [pool-4-thread-4] WARN
o.r.s.net.mrtmp.OriginMRTMPHandler - [/127.0.0.1:1393] EXCEPTION, please
implement org.red5.server.net.mrtmp.OriginMRTMPHandler.exceptionCaught() for
proper handling:
java.io.IOException: An existing connection was forcibly closed by the
remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcesso
r.java:218)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProce
ssor.java:198)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoPr
ocessor.java:45)
at
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoPr
ocessor.java:485)
at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:
51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
2008-06-13 09:36:03,125 [pool-4-thread-4] WARN
o.r.s.net.mrtmp.OriginMRTMPHandler - Handle on a non-existent origin
connection!
The "handle on a non-existent origin connection" error appears for each
client. Hence if we started 20 clients, we will see 20 of the "handle on a
non-existent origin connection" errors.
6. We have only opened the desired ports 1935 and 9035.
Rakesh
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Best Regards
Steven Gong
InfraRed5 Red5 Consultant: http://www.infrared5.com, steven at infrared5.com
Red5 Developer: http://osflash.org/red5,
http://jira.red5.org/confluence/display/~steven/Home
Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080625/27073445/attachment.html
More information about the Red5
mailing list