cancel
Showing results for 
Search instead for 
Did you mean: 

hibernate cache timeout - Where to config

jgreen
Champ in-the-making
Champ in-the-making
I've recently installed 1.4 and I'm getting a lot of cache timeout warning messages like this:

WARN  [hibernate.cache.ReadWriteChace] An item was expired by the cache while it was locked (increate your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl

I couldn't find a post telling me where to get this from.
4 REPLIES 4

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

The default cache timeout values are defined in:

…/WEB-INF/classes/alfresco/ehcache-default.xml

The relevant section is:

<!– approx 40MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.NodeImpl"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false"
        />


Hope this helps,

–Aladdin

jgreen
Champ in-the-making
Champ in-the-making
Ive checked my test box, the cache config matches the SVN 199 revision that had the fix for this issue, but I'm still seeing a lot of cache timeouts.

Any way to view the actual cache config, I'd like to check that it's getting the correct config

jgreen
Champ in-the-making
Champ in-the-making
I found the wiki entry on for getting some cache stats out.  We'll see what that produces.

jgreen
Champ in-the-making
Champ in-the-making
Sorry, created another post on same topic with more data…

Cache is definately not working right for parent-child assoc
http://forums.alfresco.com/viewtopic.php?t=4112