FAQ  •  Register  •  Login

Solution to wakeup/sleep problem

<<

stefana888

User avatar

DLNA master

Posts: 134

Joined: Mon Aug 18, 2014 6:24 am

Post Sat Oct 04, 2014 5:19 pm

Solution to wakeup/sleep problem

I found a solution to the problem that Serviio cannot detect wakeup/sleep properly on Windows (Issue#802). This caused unpredictable faulty behavior.

Not running Serviio as a WIndows service but instead as a Java process will make the wakeup/sleep mechanism work perfectly.

So I recommend running Serviio with the delivered batch file instead of the default ServioService.exe command, ie 'serviio -start', 'serviio -stop'. A shortcut to 'serviio.bat' (no arguments needed) is easily created in the Windows Autostart folder which will make Serviio startup automatically on system boot. Don't forget to disable or remove the Serviio Windows service first.
<<

stefana888

User avatar

DLNA master

Posts: 134

Joined: Mon Aug 18, 2014 6:24 am

Post Thu Nov 06, 2014 9:07 am

Re: Solution to wakeup/sleep problem

To prevent Serviio from sudden chashes without error message and jvm stack exception error on Win 32 with 2 GB RAM I run 'serviio.bat' with the following command line (no heap adjustment and with thread stack size):

  Code:
%START_COMMAND% -Xss320k -XX:+UseParNewGC %JAVA_OPTS% -classpath "%SERVIIO_CLASS_PATH%" org.serviio.MediaServer %*

Return to Serviio Support & Help

Who is online

Users browsing this forum: Baidu [Spider] and 43 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.