You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/10/30 19:39:52 UTC
svn commit: r1029132 -
/directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml
Author: kayyagari
Date: Sat Oct 30 17:39:52 2010
New Revision: 1029132
URL: http://svn.apache.org/viewvc?rev=1029132&view=rev
Log:
o turning back the 'overflowToDisk' flag to 'true'
Modified:
directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml
Modified: directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml?rev=1029132&r1=1029131&r2=1029132&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml (original)
+++ directory/apacheds/trunk/core-api/src/main/resources/directory-cacheservice.xml Sat Oct 30 17:39:52 2010
@@ -85,11 +85,17 @@
elements it will overflow to the disk cache, which in this configuration
will go to wherever java.io.tmp is defined on your system. On a standard
Linux system this will be /tmp" -->
+ <!--
+ Note: set the 'overflowToDisk' flag always to 'true'.
+ The groups information is only read once during startup hence
+ we need to retain this info forever available in the cache
+ as long as the server is running, so hinting the cache to store
+ on disk is needed to swap the data if it is too much to hold in memory -->
<cache name="groupCache"
maxElementsInMemory="10000"
maxElementsOnDisk="1000"
eternal="false"
- overflowToDisk="false"
+ overflowToDisk="true"
diskSpoolBufferSizeMB="20"
timeToIdleSeconds="300"
timeToLiveSeconds="600"