Confluence Docs 3.1 : Cache Performance Tuning for Specific Problems
This page last changed on Oct 16, 2008 by mryall.
The following are more specific performance problems that can be resolved from tuning the cache. LDAP cache sizes and expiry does not appear to be picked up.This is a known problem, please refer to CONF-11858 for the solution. "Edit Page" screen takes a long time to loadIf your installation of Confluence is suffering from this problem, it may be due to a insufficient SpacePermissions cache size. To address this problem, first determine the number of space permission objects in your Confluence instance. You can do this by running this query against your database: > select count(*) from SPACEPERMISSIONS Now locate the cache entry for SpacePermissions in your confluence-coherence-cache-config.xml: <local-scheme> <scheme-name>cache:com.atlassian.confluence.security.CachingSpacePermissionManager.permissions</scheme-name> <scheme-ref>default</scheme-ref> <high-units>10000</high-units> <expiry-delay>0s</expiry-delay> </local-scheme> Adjust the maxElementsInMemory or high-units property to the number of space permissions you have (in the example above, I've used 10000). Also, just as important, you need to adjust the timeToLiveSeconds or expiry-delay property to 0. Note: 10K of space permissions consumes approximately 8MB of memory. Please ensure there is enough memory allocated to your instance to cater for this. How to set specific cache settings
You can find more information about configuring the Coherence cache in the Coherence cache documentation. RELATED TOPICSCache Performance Tuning ![]() ![]() |
![]() |
Document generated by Confluence on Dec 10, 2009 18:41 |