- marked as minor
Startup delay
Every other server I have tested starts up almost instantly or within a few seconds.
Serviio however takes around 30 seconds and the console about 10 more. Can't these delays be reduced?
The log shows 13 seconds of the 30 is here
{{{ 2011-11-15 10:58:41,303 INFO [ProfilesDefinitionParser] Added profile 'Sony SMP-N100' (id=20) 2011-11-15 10:58:54,194 INFO [WebServer] Socket buffer set to 65535 bytes }}}
and 11 are here {{{ 2011-11-15 10:58:56,421 INFO [PluginCompilerThread] Added plugin YouTube (Youtube.groovy) 2011-11-15 10:59:07,960 INFO [ServiioConsole] Starting Serviio Console }}}
Comments (6)
-
repo owner -
Account Deleted Looks like its thinking for 12 seconds!!
2011-11-15 17:37:38,121 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV 2011' (id=19) 2011-11-15 17:37:38,122 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 20 2011-11-15 17:37:38,351 INFO [ProfilesDefinitionParser] Added profile 'Sony SMP-N100' (id=20) 2011-11-15 17:37:38,558 DEBUG [ConfigEntryDAOImpl] Reading all ConfigEntries 2011-11-15 17:37:50,249 INFO [WebServer] Socket buffer set to 65535 bytes 2011-11-15 17:37:50,253 INFO [Device] Created UPnP Device with UUID: 8dee68fe-0370-3fc8-a5f5-ae4a1fb10a65, bound address: 192.168.1.10 2011-11-15 17:37:50,308 INFO [PluginCompilerThread] Looking for plugins at C:\Program Files (x86)\Serviio\bin\..\plugins 2011-11-15 17:37:50,308 INFO [PluginCompilerThread] Started looking for plugins 2011-11-15 17:37:50,314 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe 2011-11-15 17:37:50,327 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe 2011-11-15 17:37:50,768 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data 2011-11-15 17:37:50,769 DEBUG [AbstractTranscodingDeliveryEngine] Deleting temporary transcoded files from: C:\windows\TEMP\Serviio 2011-11-15 17:37:50,847 INFO [WebServer] WebServer starting on port 8895 2
-
repo owner I think it's preparing online feed cache. You could confirm by enabling INFO logging for the jcs category in log4j.xml
-
Account Deleted Nope...sleeps for 12 seconds after cache is configured!
2011-11-15 22:15:17,699 INFO [IndexedDiskCache] Region [online_technical_metadata] Cache file root directory: C:\Program Files (x86)\Serviio\bin\\../library/cache 2011-11-15 22:15:17,700 INFO [IndexedDiskCache] Region [online_technical_metadata] Set maxKeySize to: '30000' 2011-11-15 22:15:17,724 INFO [IndexedDiskCache] Region [online_technical_metadata] Loaded keys from [online_technical_metadata], key count: 650; up to 30000 will be available. 2011-11-15 22:15:17,726 INFO [IndexedDiskCache] Region [online_technical_metadata] Finished inital consistency check, isOk = true in 2ms. 2011-11-15 22:15:17,726 INFO [IndexedDiskCache] Region [online_technical_metadata] Indexed Disk Cache is alive. 2011-11-15 22:15:17,726 INFO [CompositeCacheConfigurator] Parsed regions [thumbnails, online_feeds, local_default, local_resetafterplay, online_technical_metadata] 2011-11-15 22:15:17,726 INFO [CompositeCacheConfigurator] Finished configuration in 90 ms. 2011-11-15 22:15:17,741 DEBUG [ConfigEntryDAOImpl] Reading all ConfigEntries 2011-11-15 22:15:29,530 INFO [WebServer] Socket buffer set to 65535 bytes 2011-11-15 22:15:29,531 INFO [Device] Created UPnP Device with UUID: 8dee68fe-0370-3fc8-a5f5-ae4a1fb10a65, bound address: 192.168.1.10 2011-11-15 22:15:29,564 INFO [PluginCompilerThread] Looking for plugins at C:\Program Files (x86)\Serviio\bin\..\plugins
-
repo owner I cannot reproduce this, this all happens within milliseconds on my system. Any chance trying it on another PC/OS?
-
repo owner - changed status to wontfix
No response, cannot reproduce
- Log in to comment
Console starts when the exe is run, so that is irrelevant.
Enable detailed log to see what is happening between the profile parsing end and web server start.