You want the results while it is in the failed state?  I'll have to wait 
until it fails again since it's been restarted.

Bill

Steven Gong wrote:
> Could you please paste the result of "lsof" here when you got the 
> exception? Thanks.
>
> On 11/4/06, *Interalab* < [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Fedora Core 4
>     AMD Athlon 64 3000++
>     1.5 GB RAM
>     The app took about 2500 hits over 24 hours.
>     File:  -rw-r--r--  1 root root 661499 Nov  1 11:15 xxx.flv
>     Internet pipe is a DS3
>
>
>     Bill
>
>
>     Steven Gong wrote:
>     >
>     >
>     > On 11/4/06, *Interalab* < [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>     >
>     >     Here's the log entry.  Any ideas where to set the number of
>     open
>     >     files?
>     >     Memory wasn't an issue, I don't think.  We had 700,000 of
>     free RAM and
>     >     didn't see any 'out of memory' errors.
>     >
>     >
>     > What operating system are you using?
>     >
>     >     [ERROR] 46338924 pool-1-thread-9:(
>     >     org.red5.server.stream.provider.FileProvider.init ) error
>     read stream
>     >     file /usr/local/tomcat/webapps/red5/streams/xxx.flv
>     >     java.io.FileNotFoundException :
>     >     /usr/local/tomcat/webapps/red5/streams/xxx.flv (Too many
>     open files)
>     >             at java.io.FileInputStream.open (Native Method)
>     >             at
>     java.io.FileInputStream.<init>(FileInputStream.java :106)
>     >             at org.red5.io.flv.impl.FLV.getReader(FLV.java:171)
>     >             at
>     >     org.red5.server.stream.provider.FileProvider.init
>     >     (FileProvider.java:179)
>     >             at
>     >    
>     
> org.red5.server.stream.provider.FileProvider.pullMessage(FileProvider.java:87)
>     >             at
>     >    
>     
> org.red5.server.messaging.InMemoryPullPullPipe.pullMessage(InMemoryPullPullPipe.java
>     >     :72)
>     >             at
>     >    
>     
> org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.pullAndPush(PlaylistSubscriberStream.java:843)
>     >             at
>     >    
>     org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.play
>     (PlaylistSubscriberStream.java
>     >     :677)
>     >             at
>     >    
>     
> org.red5.server.stream.PlaylistSubscriberStream.play(PlaylistSubscriberStream.java:124)
>     >             at
>     >     org.red5.server.stream.StreamService.play
>     (StreamService.java:171)
>     >             at org.red5.server.stream.StreamService.play
>     >     (StreamService.java:183)
>     >             at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown
>     >     Source)
>     >             at
>     >    
>     
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     >             at java.lang.reflect.Method.invoke (Method.java:585)
>     >             at
>     >    
>     org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:156)
>     >             at
>     >    
>     org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:273)
>     >             at
>     >     org.red5.server.net.rtmp.RTMPHandler.onInvoke
>     (RTMPHandler.java:453)
>     >             at
>     >    
>     org.red5.server.net.rtmp.RTMPHandler.messageReceived(RTMPHandler.java:143)
>     >             at
>     >     org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived
>     (RTMPMinaIoHandler.java:73)
>     >             at
>     >    
>     
> org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:189)
>     >             at
>     >    
>     
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived
>     (AbstractIoFilterChain.java
>     >     :502)
>     >             at
>     >    
>     
> org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:52)
>     >             at
>     >    
>     
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived
>     (AbstractIoFilterChain.java
>     >     :777)
>     >             at
>     >    
>     org.red5.io.filter.ExecutorFilter.processEvent(ExecutorFilter.java:231)
>     >             at
>     >     org.red5.io.filter.ExecutorFilter$ProcessEventsRunnable.run
>     (ExecutorFilter.java:279)
>     >             at
>     >     java.util.concurrent.ThreadPoolExecutor$Worker.runTask
>     >     (ThreadPoolExecutor.java:650)
>     >             at
>     >     java.util.concurrent.ThreadPoolExecutor$Worker.run
>     (ThreadPoolExecutor.java:675)
>     >             at java.lang.Thread.run(Thread.java:595)
>     >     [ERROR] 46338926 pool-1-thread-9:(
>     >     org.red5.server.messaging.InMemoryPullPullPipe.pullMessage )
>     exception
>     >     when pulling message from provider
>     >     java.lang.NullPointerException
>     >             at
>     >    
>     
> org.red5.server.stream.provider.FileProvider.pullMessage(FileProvider.java:89)
>     >             at
>     >     org.red5.server.messaging.InMemoryPullPullPipe.pullMessage
>     >     (InMemoryPullPullPipe.java:72)
>     >             at
>     >    
>     org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.pullAndPush(
>     PlaylistSubscriberStream.java:843)
>     >             at
>     >     org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.play
>     >     (PlaylistSubscriberStream.java:677)
>     >             at
>     >     org.red5.server.stream.PlaylistSubscriberStream.play
>     (PlaylistSubscriberStream.java:124)
>     >
>     >
>     >     _______________________________________________
>     >     Red5 mailing list
>     >     [email protected] <mailto:[email protected]> <mailto:
>     [email protected] <mailto:[email protected]>>
>     >     http://osflash.org/mailman/listinfo/red5_osflash.org
>     >
>     >
>     >
>     >
>     > --
>     > I cannot tell why this heart languishes in silence. It is for small
>     > needs it never asks, or knows or remembers.  -- Tagore
>     >
>     > Best Regards
>     > Steven Gong
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Red5 mailing list
>     > [email protected] <mailto:[email protected]>
>     > http://osflash.org/mailman/listinfo/red5_osflash.org
>     >
>
>     _______________________________________________
>     Red5 mailing list
>     [email protected] <mailto:[email protected]>
>     http://osflash.org/mailman/listinfo/red5_osflash.org
>     <http://osflash.org/mailman/listinfo/red5_osflash.org>
>
>
>
>
> -- 
> I cannot tell why this heart languishes in silence. It is for small 
> needs it never asks, or knows or remembers.  -- Tagore
>
> Best Regards
> Steven Gong
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>   

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to