Andreas Hartmann wrote:
> 
> Hi Frank,
> 
> Frank Hamilton schrieb:
>> Hi, I'm watching this,
>> http://lenya.apache.org/docu20/reference/metadata.html
>> to perform tasks of increased performance in my application. And I am not
>> sure I understand this:
> 
> […]
> 
>> I have this data on the site page of my application
>> 
>> Documents:   5110
>> Sitetree nodes:      5027
>> 
>> I have two language and 6 tag in the section on metadata
>> therefore, should put 5027x2x6 in maxobjects?
>> In what variable? transient-store.maxobjects , xmlfile-store.maxobjects,
>> store.maxobjects
> 
> there should be such a section in cocoon.xconf:
> 
>    <component class="org.apache.excalibur.store.impl.MRUMemoryStore" 
> logger="lenya.metadata.cache" 
> role="org.apache.lenya.cms.metadata.MetaDataCacheStore">
>      <parameter name="maxobjects" value="10000"/>
>    </component>
> 
> 
> There you should set maxobjects to maybe 6000x2x6 = 72000.
> 
> But actually I think the documentation is missing the authoring+live 
> versions, so I guess this should be muliplied by 2 (=144000).
> 
> But I'd recommend running some tests to see if your JVM memory settings 
> can handle this cache size (e.g. by crawling the site using wget).
> 
> HTH,
> 
> -- Andreas
> 
> 
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

Thanks Andreas,

In my cocoon.xconf there is not a section you refer.

i think you refer to Store Objects, defined in cocoon.xconf

<!--+
      | Store: generic store. The default implementation is an in-memory
store
      | backed by a disk store (based on EHCache). This forms a two-stage
      | cache composed of a fast in-memory MRU front-end and a persistent
      | back-end which stores the less-used objects.
      |
      | Common configuration parameters:
      | maxobjects: Indicates how many objects will be held in the cache.
      |    When the number of maxobjects has been reached. The last object
      |    in the cache will be thrown out.
      +-->
  <!-- <store logger="core.store">
    <parameter name="maxobjects" value="${store.maxobjects}"/>
    <parameter name="use-cache-directory" value="true"/>
  </store> -->
  <store logger="core.store">
    <parameter name="maxobjects" value="${store.maxobjects}"/>
    <parameter name="use-cache-directory" value="true"/>
    <parameter name="eternal" value="false"/>
    <parameter name="timeToIdleSeconds" value="1800"/>
    <parameter name="timeToLiveSeconds" value="3600"/>
  </store>

Have I to change the store.maxobjects value.?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Lenya-performance-II-tp25075927p25079050.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to