You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marek Slama (Created) (JIRA)" <ji...@apache.org> on 2012/03/12 15:06:38 UTC
[jira] [Created] (JCR-3256) Cache logging from
AbstractBundlePersistenceManager does not work when I change default bundle
cache size to 512
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
{code}
<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>
{code} 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
[jira] [Resolved] (JCR-3256) Cache logging from
AbstractBundlePersistenceManager does not work when I change default bundle
cache size to 512
Posted by "Alex Parvulescu (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (JCR-3256) Cache logging from
AbstractBundlePersistenceManager does not work when I change default bundle
cache size to 512
Posted by "Marek Slama (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (JCR-3256) Cache logging from
AbstractBundlePersistenceManager does not work when I change default bundle
cache size to 512
Posted by "Marek Slama (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marek Slama updated JCR-3256:
-----------------------------
Description:
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.
was:
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
{code:xml}
<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>
{code} 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.
> 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
[jira] [Updated] (JCR-3256) Cache logging from
AbstractBundlePersistenceManager does not work when I change default bundle
cache size to 512
Posted by "Marek Slama (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marek Slama updated JCR-3256:
-----------------------------
Description:
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
{code:xml}
<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>
{code} 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.
was:
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
{code}
<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>
{code} 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.
> 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
> {code:xml}
> <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>
> {code} 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