Ticket #699 (new Bug)

Opened 2 years ago

Last modified 22 months ago

File descriptior memory leak

Reported by: testpresta Owned by: paul
Priority: Blocker Component: App Server
Version: 0.9.0 RC1 Keywords:
Cc: pkarwatka@…

Description

Hello

I am working on a red5 application that communicates with Flash clients by rtmp protocol.
I have one scheduled job per active scope.

Everything works fine but one time per day, the red5 application is not working. The application stops to write into log files, flash clients can connect to it but there don t receive either a connexion problem neither a good connexion. Each client is waiting.

When i type "lsof | grep red5", i see a lot of "can't identify protocol" messages. At anytime, i can see one line with "can't identify protocol". When the problem come, those lines are growing quickly.

I have no error a Memory Heap problem in log files.

Sometimes (at any time), i see thoses exceptions but it doesn t happen when red5 freeze (it happens at any time):

[Red5_Scheduler_Worker-10] WARN o.r.server.net.rtmp.RTMPConnection - This often happens if YOUR Red5 application generated an exception on start-up. Check earlier in the log for that exception first!

javax.management.InstanceNotFoundException: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=x.y.z.w,port=1935,clientId=1108

This is the java version im working with: java-6-sun-1.6.0.12

Change History

Changed 22 months ago by pkarw

  • cc pkarwatka@… added
  • priority changed from Minor to Major
  • version 0.9.0 RC1 deleted

We use red5 on production in our CDN project -  http://simplestorage.pl and we meet this problem almost everyday. We set greater limit with ulimit (on 1024 fds it stops in 24 hours of start) - but this doesnt help a lot - we have .. more time to server death :(

Changed 22 months ago by pkarw

  • priority changed from Major to Blocker
  • version set to 0.9.0 RC1
Note: See TracTickets for help on using tickets.