subsonic music folder cache

Need help? Post your questions here.

Moderator: moderators

subsonic music folder cache

Postby trinitymusic » Fri Dec 24, 2010 1:06 am

I'm getting these errors in the tomcat sys log, which I believe is stopping me from being able to upload large mp3s/zip files through subsonic's interface.

Anyone know how to fix this?


INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Dec 23, 2010 1:47:49 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive subsonic.war
Dec 23, 2010 1:48:00 PM net.sf.ehcache.Cache initialise
WARNING: Cache: musicFolderCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
Dec 23, 2010 1:48:00 PM net.sf.ehcache.Cache initialise
WARNING: Cache: chatCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
trinitymusic
 
Posts: 14
Joined: Wed Dec 01, 2010 6:10 am

Postby GJ51 » Fri Dec 24, 2010 2:59 am

Try opening the SS control panel and increasing the memory allocation on the settings tab.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby stozher » Fri Dec 24, 2010 3:53 am

:D no comment...

SS 4.2 (build 1944) – November 21, 2010
jetty-6.1.x, java 1.6.0_18, Linux (105.6 MB / 153.1 MB)

/etc/default/subsonic:
SUBSONIC_ARGS="--home=/srv/subsonic --port=80 --max-memory=512 ...

subsonic_sh.log:
2204 [main] INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: org.hsqldb.jdbcDriver
2917 [main] INFO org.springframework.cache.ehcache.EhCacheManagerFactoryBean - Initializing EHCache CacheManager
Dec 23, 2010 7:47:27 AM net.sf.ehcache.CacheManager addShutdownHookIfRequired
INFO: The CacheManager shutdown hook is enabled because net.sf.ehcache.enableShutdownHook is set to true.
Dec 23, 2010 7:47:27 AM net.sf.ehcache.Cache initialise
WARNING: Cache: musicFolderCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
Dec 23, 2010 7:47:27 AM net.sf.ehcache.Cache initialise
WARNING: Cache: chatCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby rhodes3581 » Fri Jan 28, 2011 4:30 pm

Has anyone figured out why this error is occurring or how to fix it? I am noticing the same thing and my max memory for subsonic is set to 512.
rhodes3581
 
Posts: 25
Joined: Wed Sep 09, 2009 7:24 pm

Postby stozher » Fri Jan 28, 2011 5:34 pm

.../subsonic/jetty/.../webapp/WEB-INF/classes/ehcache.xml :roll:

Code: Select all
...

    <cache name="musicFolderCache"
           maxElementsInMemory="0"
           eternal="true"
           diskPersistent="true"
           overflowToDisk="true"/>

    <cache name="chatCache"
           maxElementsInMemory="0"
           eternal="true"
           diskPersistent="true"
           overflowToDisk="true"/>

</ehcache>

Code: Select all
maxElementsInMemory="1"

Restart server, clear browser cache and refresh page...
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria


Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests