[Red5] New Error in trunk
Steven Gong
steven.gong at gmail.com
Mon Feb 18 18:48:40 PST 2008
On Feb 19, 2008 10:33 AM, Dan Rossi <spam at electroteque.org> wrote:
>
> On 19/02/2008, at 1:12 PM, Steven Gong wrote:
>
>
>
> On Feb 19, 2008 10:06 AM, Dan Rossi <spam at electroteque.org> wrote:
>
> > I tried some outragous ammounts like 40 and then 320 for maxpoolsize. it
> > doesnt change anything. I believe the video cutting out during playback when
> > i hit it with 10 requests is caused from that exception error. As watching
> > the log while playing back comes up at the same time. The cpu is low on the
> > opteron machine however. Maybe its different to P4 or just these exceptions
> > are stopping the stream.
> >
> I didn't get any exception with the 100 clients load locally with
> oflaDemo. Could you please tell me the steps to reproduce it?
>
>
> Loadtest tool to a remote machine 10-100 users. Starts to skip bad at
> around 30. What are you using ? maybe try my host electroteque.org out and
> ill see if there is errors still.
>
IIUC the skip issue is caused by that exception. What I mean is how to
reproduce this exception...
>
>
>
> > On 19/02/2008, at 12:33 PM, Steven Gong wrote:
> >
> >
> >
> > On Feb 18, 2008 11:45 PM, Dan Rossi <spam at electroteque.org> wrote:
> >
> > > Im probing live servers, so there is already traffic on them. When
> > > hitting my opteron server it never reaches 50% but thats opteron with no
> > > extra traffic. I just got that exception error
> > > 2008-02-18 15:37:46,657 [pool-3-thread-2] ERROR
> > > org.red5.io.flv.impl.FLVReader - Error getRemainingBytes
> > > java.nio.channels.ClosedByInterruptException
> > > at java.nio.channels.spi.AbstractInterruptibleChannel.end(
> > > AbstractInterruptibleChannel.java:184)
> > >
> > >
> > > By just running the load test tool on oflademo with files loaded
> > > locally. So not sure if its a network drive problem ? I'm not too sure yet
> > > if its reproducable on a machine on the local network would have to be
> > > across the wire somewhere.
> > >
> > > The playback on the test app is definitely different to before, ie the
> > > playback stalls after a certain ammount of requests.
> > >
> > Please increase the number of executors for PlaybackSubscriberStream. It
> > is a configuration in red5-common.xml:
> > <bean id="streamExecutor" class="
> > java.util.concurrent.ScheduledThreadPoolExecutor">
> > <constructor-arg value="2"/>
> > <property name="maximumPoolSize" value="32"/>
> > </bean>
> > The value is marked as red.
> >
> > >
> > >
> > >
> > > On 19/02/2008, at 1:53 AM, Steven Gong wrote:
> > >
> > > Hi Dan,
> > > Thanks for the continuous test on this. I know from my local test that
> > > the recent enhancement can provide better VOD streaming performance than
> > > before. What I was worrying about is whether this fix impacts the
> > > functionality of the playback. So I wish that you or anyone on the list can
> > > test it and tell me any issues that are caused by this fix. As we are near
> > > the 0.7 release, the regression bugs would be the highest priority.
> > >
> > > On Feb 18, 2008 10:36 PM, Dan Rossi <spam at electroteque.org> wrote:
> > >
> > > > Ok i tried hitting just one machine, and it reached up to 90% it
> > > > never got to 100% now though. These are single P4's. I had tested on a AMD
> > > > X2 on the lan and would have given better results well they were obvious
> > > > results as it reduced down to 5%. What settings should i add it to try and
> > > > improve things there. It doesnt seem like it makes a difference if over the
> > > > network or locally performance wise.
> > > > I have included the link to the modified oflademo, so when i mean i
> > > > point it locally, its still an absolute path so
> > > > C:/Red5/webapps/oflaDemo/streams/
> > > >
> > > > http://red5.electroteque.org/dev/oflaDemo.zip
> > > >
> > > >
> > > > On 19/02/2008, at 1:19 AM, Dan Rossi wrote:
> > > >
> > > > Testing oflademo with files over the network it peaks the usage
> > > > around 50% for 100 users. But the playback is jerky in the loadtest tool, im
> > > > guessing thats expected. I had tested before on my local lan machine i hadnt
> > > > got a chance to move over the stuff onto the live system for testing which
> > > > includes latency. I have the loadtest tool set to 10 seconds buffer.
> > > > I got alot of these but no stream complete event odd.
> > > >
> > > > Net status (player): NetStream.Buffer.Full
> > > > Net status (player): NetStream.Buffer.Empty
> > > > Net status (player): NetStream.Buffer.Full
> > > > Net status (player): NetStream.Buffer.Empty
> > > > Net status (player): NetStream.Buffer.Full
> > > > Net status (player): NetStream.Play.InsufficientBW
> > > >
> > > > On 18/02/2008, at 11:43 PM, Steven Gong wrote:
> > > >
> > > > Hmm, how did you set the play buffer times? I remember you mentioned
> > > > CPU load is low when you tried the load test with 10s buffer.
> > > >
> > > > On Feb 18, 2008 8:38 PM, Dan Rossi <spam at electroteque.org> wrote:
> > > >
> > > > > That didnt seem to make a different, i tried connecting to one
> > > > > single server with oflademo and local files, and the cpu reached 90% and
> > > > > video playback was cutting out with the load test tool. I'll just
> > > > > try playing one file back a few times.
> > > > >
> > > > > On 18/02/2008, at 10:55 PM, Steven Gong wrote:
> > > > >
> > > > > OK, so you mean the issue is caused by networked file storage,
> > > > > right?
> > > > >
> > > > > On Feb 18, 2008 7:43 PM, Dan Rossi <spam at electroteque.org> wrote:
> > > > >
> > > > > > Here you go
> > > > > > 2/18/2008 22:40:44.539 [DEBUG] Connect Connecting to
> > > > > > rtmp://host/oflaDemo/room
> > > > > > 2/18/2008 22:40:45.820 [INFO] VODSubscriber Connected to
> > > > > > rtmp://host/oflaDemo/room
> > > > > > 2/18/2008 22:40:45.823 [INFO] VODSubscriber Playing stream:
> > > > > > flvfile.flv
> > > > > > 2/18/2008 22:40:46.361 [INFO] VODSubscriber Playback Started
> > > > > > 2/18/2008 22:40:46.911 [INFO] VODSubscriber Playback Stopped
> > > > > > 2/18/2008 22:40:46.917 [DEBUG] VODSubscriber Buffer Length:
> > > > > > 3.108Buffer Time: 8
> > > > > > 2/18/2008 22:40:47.442 [DEBUG] VODSubscriber Buffer Length:
> > > > > > 2.56Buffer Time: 8
> > > > > > 2/18/2008 22:40:47.962 [DEBUG] VODSubscriber Buffer Length:
> > > > > > 2.037Buffer Time: 8
> > > > > > 2/18/2008 22:40:48.502 [DEBUG] VODSubscriber Buffer Length:
> > > > > > 1.494Buffer Time: 8
> > > > > > 2/18/2008 22:40:49.022 [DEBUG] VODSubscriber Buffer Length:
> > > > > > 0.992Buffer Time: 8
> > > > > > 2/18/2008 22:40:49.562 [DEBUG] VODSubscriber Buffer Length:
> > > > > > 0.427Buffer Time: 8
> > > > > > 2/18/2008 22:40:50.049 [INFO] VODSubscriber
> > > > > > NetStream.Play.Complete
> > > > > >
> > > > > > On 18/02/2008, at 9:27 PM, Dan Rossi wrote:
> > > > > >
> > > > > >
> > > > > > On 18/02/2008, at 9:17 PM, Steven Gong wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Feb 18, 2008 6:14 PM, Dan Rossi <spam at electroteque.org>
> > > > > > wrote:
> > > > > >
> > > > > > > Ok it seems the oflaDemo app isnt using the filenamegenerator
> > > > > > > bean ill have to make one up for it.
> > > > > > >
> > > > > > The error you were reporting doesn't seem to be related to
> > > > > > filename generator framework. So you don't need to create one in order to
> > > > > > reproduce it.
> > > > > >
> > > > > >
> > > > > > I need to load the files on the network drive :) I'll make one
> > > > > > up just in case anyway.
> > > > > > _______________________________________________
> > > > > > Red5 mailing list
> > > > > > Red5 at osflash.org
> > > > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > 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<http://jira.red5.org/confluence/display/%7Esteven/Home>
> > > > >
> > > > > Javaflash Project Founder and Maintainer:
> > > > > http://osflash.org/javaflash
> > > > >
> > > > > Modesty is an overrated quality in men of no great accomplishment.
> > > > > -- Ricky Jay _______________________________________________
> > > > > Red5 mailing list
> > > > > Red5 at osflash.org
> > > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > 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<http://jira.red5.org/confluence/display/%7Esteven/Home>
> > > >
> > > > Javaflash Project Founder and Maintainer:
> > > > http://osflash.org/javaflash
> > > >
> > > > Modesty is an overrated quality in men of no great accomplishment.
> > > > -- Ricky Jay _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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<http://jira.red5.org/confluence/display/%7Esteven/Home>
> > >
> > > Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
> > >
> > > Modesty is an overrated quality in men of no great accomplishment. --
> > > Ricky Jay _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> > >
> > > _______________________________________________
> > > 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<http://jira.red5.org/confluence/display/%7Esteven/Home>
> >
> > Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
> >
> > Modesty is an overrated quality in men of no great accomplishment. --
> > Ricky Jay _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> >
> > _______________________________________________
> > 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<http://jira.red5.org/confluence/display/%7Esteven/Home>
>
> Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
>
> Modesty is an overrated quality in men of no great accomplishment. --
> Ricky Jay _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> _______________________________________________
> 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
Modesty is an overrated quality in men of no great accomplishment. -- Ricky
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080219/47c3d1e3/attachment-0001.html
More information about the Red5
mailing list