resuming from sleep issue
2011-09-29 00:16:02,736 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
sleep resume from sleep
2011-09-29 18:38:19,615 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition 2011-09-29 18:38:19,918 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en 2011-09-29 18:39:09,185 INFO [ServiioConsole] Starting Serviio Console 2011-09-29 18:39:09,230 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423 2011-09-29 18:39:10,261 INFO [Messages] Loaded console message bundle for locale: en 2011-09-29 18:39:11,088 INFO [Messages] Loaded console message bundle for locale: en 2011-09-29 18:39:11,196 INFO [UpdateChecker] Checking if a new version is available 2011-09-29 18:39:19,252 INFO [ServiioConsole] Leaving Serviio Console
then nothing... all feeds empty... all feeds will have expired by this point but it does not try and refresh... and wont until stopping the service and starting it again.
I know some people feel the server should never goto sleep... but there are reasons for doing that over shutting it down...
obviously a reboot fixes the issue till the next time...
Comments (12)
-
repo owner -
Account Deleted thanks, anyway to test it yet?
-
repo owner no, unless you want to try to get your hands dirty:
- unzip serviio.jar
- find file 'cache.ccf'
- open it and replace this
jcs.region.online_feeds= jcs.region.online_feeds.cacheattributes.UseMemoryShrinker=true jcs.region.online_feeds.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.online_feeds.cacheattributes.MaxObjects=1000 jcs.region.online_feeds.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.online_feeds.elementattributes=org.apache.jcs.engine.ElementAttributes
with this
jcs.region.online_feeds= jcs.region.online_feeds.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.online_feeds.cacheattributes.MaxObjects=1000 jcs.region.online_feeds.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
- zip it back up
- restart Serviio service
Let me know if it works.
-
Account Deleted done, will test it over night, check when it resumes from sleep in the morning
used izarc to overwrite the ccf file with a modified one
thanks
-
repo owner any results?
-
Account Deleted Still not working for me after fix suggested
-
repo owner - changed version to 0.6.1
please try with the next beta
-
Account Deleted Where can I get the beta from?
dfrancia
-
repo owner send me a PM on the forum
-
Account Deleted PM?
-
Account Deleted I have the version 1.1 and after sleep/hybernate I need to restart the service...
-
repo owner - changed status to duplicate
Duplicate of
#192. - Log in to comment
it looks like this might be caused by the JCS cache evicting feeds after several hours and the the browse function only looks for cached items. Hopefully fixed now.