UMS dies nightly/daily by itself

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

UMS dies nightly/daily by itself

Post by emerson8 »

I've attached a debug.zip that's NOT trace ( in this first step anyway) as the bug itself isn't really re-producable as such.
It simply comes down to UMS maxing out on java heap, locked in at 25% CPU ( quadcore) and is simply dead.
This without anyone actually playing anything. It just happens more or less daily with UMS running.

The impression I've got, thought Im not 100% sure, is that it happens IF adding musicfiles to the shared folders.
I'll do a separate test without music added and check again.

Raised java heap to 1200, using 200mb as buffer. Normal use as looking at a movie, etc = no problems.
Issue being that over time, UMS simply runs out of java heap, hogs the cpu and stops responding.
Attachments
ums_dbg.zip
(78.82 KiB) Downloaded 488 times
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: UMS dies nightly/daily by itself

Post by emerson8 »

adding a "trace-debug" log file. Died in approx 40min's. java out of memory.
Attachments
trace-debug.zip
(1.96 MiB) Downloaded 463 times
User avatar
Optimus_prime
Posts: 678
Joined: Fri Jun 01, 2012 6:39 pm
Location: Sydney, Australia

Re: UMS dies nightly/daily by itself

Post by Optimus_prime »

Whats your machine's installed memory size?
Also is it happening when the heap is set at default 768?
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: UMS dies nightly/daily by itself

Post by emerson8 »

It's Xp/32 bit with 4 GB's of memory.

I'll try reverting to the standard mem size and see if that makes any change...
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: UMS dies nightly/daily by itself

Post by emerson8 »

Same thing takin it down to 800mb, maybe I have to try with the "exact" 768 and see if there's any difference.
Had it on trace, died on my just now, same CPU hog and java heap space error as before.
Attachments
trace2-debug.zip
(2.23 MiB) Downloaded 450 times
User avatar
Optimus_prime
Posts: 678
Joined: Fri Jun 01, 2012 6:39 pm
Location: Sydney, Australia

Re: UMS dies nightly/daily by itself

Post by Optimus_prime »

Could you try 2.6.5 (the release version) and see if it makes a difference. Your logfile is huge, these two statements are why
org.h2.jdbc.JdbcSQLException: Out of memory.; SQL statement:
Caused by: java.lang.OutOfMemoryError: Requested memory: 387734
UMS is clearly running out of memory as it's attempting to add to it's database all your media. Also try the latest beta and see if it works
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: UMS dies nightly/daily by itself

Post by emerson8 »

I think that this issue is new. Been running UMS for quite a while and despite the occasional hickup, this 100% crash on a daily basis is completly new.

I could try reset the DB and start that from Scratch. Also, I think, not 100% confirmed, that this issue happens anytime after adding MP3's, Flac etc files to UMS.
As long as there's only been movies and videos, I've not seen it. Having had music = DB and what it looks like, the JPG's correlating to each album, pop's up in the logs.


I'll do a reset and a test of the latest build with standard settings and see how that plays out.
Post back later.
emerson8
Posts: 45
Joined: Thu Jun 07, 2012 11:19 pm

Re: UMS dies nightly/daily by itself

Post by emerson8 »

Looks better so far with Build A3 and a reset-db.

Even did a rescan of all mediafiles without any hangs ( yet )
User avatar
Optimus_prime
Posts: 678
Joined: Fri Jun 01, 2012 6:39 pm
Location: Sydney, Australia

Re: UMS dies nightly/daily by itself

Post by Optimus_prime »

There was a few fixes in 32bit mode, which is what your using. From the changelog:
General:
Fixed folder browsing in 32-bit mode
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Post Reply