What steps will reproduce the problem?
I have send rtmp stream from other client,when the red5 throw some exception
like the below,which the below thread will cause one cpu core load be up
100%,and it will not drop
What is the expected output? What do you see instead?
2014-05-30 10:01:58,390 [pool-8-thread-39] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Last header null not new, headerSize: 3,
channelId 54
2014-05-30 10:01:58,391 [pool-8-thread-39] ERROR
o.r.s.n.r.codec.RTMPProtocolDecoder - Error decoding buffer
org.red5.server.net.protocol.ProtocolException: Header is null, check for error
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodePacket(RTMPProtocolDecoder.java:323) ~[red5.jar:na]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decode(RTMPProtocolDecoder.java:187) ~[red5.jar:na]
at org.red5.server.net.rtmp.codec.RTMPProtocolDecoder.decodeBuffer(RTMPProtocolDecoder.java:124) ~[red5.jar:na]
at org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder.decode(RTMPMinaProtocolDecoder.java:68) [red5.jar:na]
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:232) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:441) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:787) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761) [mina-core-2.0.8-SNAPSHOT.jar:na]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703) [mina-core-2.0.8-SNAPSHOT.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]
What version of the product are you using? On what operating system?
I'm using Red5-Version: 1.0.0 on centos 2.6.32-431.el6.x86_64
Original issue reported on code.google.com by zhagta2...@gmail.com on 2 Jun 2014 at 6:30
Original issue reported on code.google.com by
zhagta2...@gmail.com
on 2 Jun 2014 at 6:30