[ 
https://issues.apache.org/jira/browse/JCR-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227668#comment-13227668
 ] 

Marek Slama commented on JCR-3256:
----------------------------------

I am very sorry. It seems it works fine I just have to make sure some bundle is 
accessed. If not no bundle cache logging is done. So you can close issue as 
invalid.
                
> Cache logging from AbstractBundlePersistenceManager does not work when I 
> change default bundle cache size to 512
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3256
>                 URL: https://issues.apache.org/jira/browse/JCR-3256
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4
>            Reporter: Marek Slama
>
> When I left default bundle cache size every 1min I get cache stats log for 
> bundle cache. I wanted to increase cache size and see result but it stopped 
> to log. I added
> {noformat}
>         <PersistenceManager 
> class="org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager">
>             <param name="dataSourceName" value="postgresql"/>
>             <param name="schemaObjectPrefix" value="pm_${wsp.name}_"/>
>             <param name="bundleCacheSize" value="512"/>
>         </PersistenceManager>
> {noformat}
> to workspace section and
> {code}
>         <PersistenceManager 
> class="org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager">
>             <param name="dataSourceName" value="postgresql"/>
>             <param name="schemaObjectPrefix" value="pm_version_"/>
>             <param name="bundleCacheSize" value="128"/>
>         </PersistenceManager>
> {code} to version section.
> I have also
> {code}
> JAVA_OPTS="$JAVA_OPTS -Dorg.apache.jackrabbit.maxCacheMemory=256000000 
> -Dorg.apache.jackrabbit.maxMemoryPerCache=128000000"
> {code} but as I did not find any info how caches handled by CacheManager are 
> related to bundle cache I assume they do not share the same memory ie. bundle 
> cache is not handled by CacheManager. In any case I did not see any error in 
> my log with these settings and log from CacheManager works as before. If 
> there is any relation between bundle cache and CacheManager it should be 
> clearly documented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to