[Red5] Server crashes nearly all 20h, java heap space!?
Marcus Popetz
marcus at roundpeg.com
Thu Dec 11 06:52:25 PST 2008
I suggest investigating jprofiler.
It's a great way to see where your memory is going.
-mp
On Thu, Dec 11, 2008 at 3:42 AM, Hanke Daniel <info at syndi-cat.net> wrote:
> Hi there,
>
> i have a red5server running, crashing about all 20 h a day. There are about
> 30 different connections each day,
> since i left testing-mode (with max 5 connections) the trouble became alive.
>
> the crash, errorlog attached, forces me to kill all java instances running,
> else it claims that jetty-ports were already in use.
>
> FYI :
>
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
>
> Apache Ant version 1.6.5 compiled on January 6 2007
>
> (Since apps are using mysql)
> mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (x86_64) using
> readline 5.0
>
> i got 4 gb of ram, only apache2 and mysql running. so quite empty.
>
> I was already told that a MultiThreadedApplication should not use HashMaps..
> could anyone confirm, or are the java heap spaces doing so ?
>
> 2008-12-10 13:03:29,679 [main] WARN org.mortbay.log - Can't reuse
> /tmp/Jetty_0_0_0_0_5080_connectionCheckApp__connectionCheckApp__203c02,
> using
> /tmp/Jetty_0_0_0_0_5080_connectionCheckApp__connectionCheckApp__203c02_64864
> 2008-12-10 13:03:30,566 [main] WARN org.mortbay.log - Can't reuse
> /tmp/Jetty_0_0_0_0_5080_previewStreamPlayer__previewStreamPlayer__-lrqhgw,
> using
> /tmp/Jetty_0_0_0_0_5080_previewStreamPlayer__previewStreamPlayer__-lrqhgw_64865
> 2008-12-10 13:03:30,747 [main] ERROR org.red5.server.Scope - Could not start
> scope [WebScope at 6eef4599 Depth = 1, Path = '/default', Name =
> 'showAllUserPreviewMovies']. java.lang.NullPointerException
> 2008-12-10 15:16:56,047 [DefaultQuartzScheduler_Worker-9] WARN
> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> 213.3.113.233 : 51185 to www.hankeundwekel.de (in: 4444 out 4858 ) due to
> too much inactivity (64816).
> 2008-12-10 15:18:04,131 [DefaultQuartzScheduler_Worker-0] WARN
> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> 82.112.147.159 : 53346 to www.hankeundwekel.de (in: 5631 out 5291 ) due to
> too much inactivity (64893).
> 2008-12-10 17:22:54,799 [DefaultQuartzScheduler_Worker-7] WARN
> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> 151.80.27.93 : 49899 to www.hankeundwekel.de (in: 37548 out 35174 ) due to
> too much inactivity (122340).
> 2008-12-10 19:33:20,186 [DefaultQuartzScheduler_Worker-1] ERROR
> o.r.s.s.QuartzSchedulingService - Job net.syndicat.showChatRequests at 4d90380
> execution failed: Java heap space
> 2008-12-10 19:30:57,827 [DefaultQuartzScheduler_Worker-7] ERROR
> o.r.s.s.QuartzSchedulingService - Job net.syndicat.showChatRequests at 4d90380
> execution failed: Java heap space
> 2008-12-10 19:49:59,217 [DefaultQuartzScheduler_Worker-9] WARN
> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> 72.139.7.54 : 1970 to www.hankeundwekel.de (in: 6579 out 99431 ) due to too
> much inactivity (2651574).
> 2008-12-10 19:50:03,502 [DefaultQuartzScheduler_Worker-9] WARN
> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> 72.139.7.54 : 1903 to www.hankeundwekel.de (in: 54831378 out 7231 ) due to
> too much inactivity (2647678).
> 2008-12-10 19:50:03,506 [DefaultQuartzScheduler_Worker-6] WARN
> o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
> 72.139.7.54 : 1893 to www.hankeundwekel.de (in: 54136 out 100496 ) due to
> too much inactivity (2643899).
> 2008-12-10 19:57:28,033 [DefaultQuartzScheduler_Worker-6] ERROR
> o.r.s.s.QuartzSchedulingService - Job net.syndicat.showChatRequests at 4d90380
> execution failed: Java heap space
>
>
> I`d be pleased if you could tell me how to exactly go against that error. i
> am quite new to java, as far as this concerns java.
>
> since jetty claims to not beeing reused, this closing
> rtmpMinaConnection-warnings appear. before that, no warnings or anything for
> hours.
>
> Thanks for reading! Kind Regards, Daniel
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
More information about the Red5
mailing list