I'm like a blind man tuning a television!

I understand from the documentation that I can tune the setting in cocoon.xconf 
to control the cache, so that the most recently used objects are in memory and 
less recently used objects are on disk. But a few points are unclear to me - 
could someone please expain?

  <cache-transient class="org.apache.cocoon.components.store.MRUMemoryStore" 
logger="core.store.transient">
   <parameter name="maxobjects"           value="100"/>
   <parameter name="use-persistent-cache" value="true"/>
  </cache-transient>

1) Does 'maxobject' just define the max number of objects in memory? Or does it 
include the items on disk?

2) When <parameter name="use-persistent-cache" value="true"/> do the cached 
objects go onto disk only when maxobjects is exceeded?

3) Is there any control over the number of objects on the disk?

4) When the store-janitor decides to free memory, do the freed items go to 
persistent-cache or are they lost?

When I change these settings I am unable to see what is happening. I've tried 
using the status page and its a great start but there's not enough detail.

1) I can see total and free memory and some details about the objects in cache.

2) I don't know which are in memory and which are on disk and how much space 
they take up. If I don't know this then how can I tell if my settings are 
working, and how do I make decisions to change the settings?

Simple trial and error is not very usefull because I cannot get enough feedback 
about what is happening.

Any advice very welcome. Thanks.

Peter.

<MySystem> Gateway G6-350 (392,612k RAM), NT4.0sp6, jdk-1.3.1, tomcat-4.0.1, 
cocoon2.0.2-dev, NS Nav 4.7, NS 6.1, IE 5.0, </MySystem>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to