You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/12 17:59:38 UTC

[jira] [Resolved] (JCR-3256) Cache logging from AbstractBundlePersistenceManager does not work when I change default bundle cache size to 512

     [ https://issues.apache.org/jira/browse/JCR-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved JCR-3256.
----------------------------------

    Resolution: Invalid

No worries Marek :)
                
> 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