cancel
Showing results for 
Search instead for 
Did you mean: 

Increase in cache-context.xml or ehcache-custom.xml

loftux
Star Contributor
Star Contributor
I'm getting this error
14:13:41,584 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).
14:13:58,579 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.node.propertiesTransactionalCache] Transactional update cache 'org.alfresco.cache.node.propertiesTransactionalCache' is full (5000).
14:14:20,832 WARN  [org.alfresco.repo.cache.TransactionalCache.org.alfresco.cache.node.aspectsTransactionalCache] Transactional update cache 'org.alfresco.cache.node.aspectsTransactionalCache' is full (10000).

I can find these bean names in cache-context.xml, and thus create a custom-cache-context.xml. But is it this one to edit to resolve errors above, or should cache changes always be done in ehcach-custom.xml as per http://wiki.alfresco.com/wiki/Repository_Cache_Configuration
13 REPLIES 13

benswitzer
Champ in-the-making
Champ in-the-making
I am also looking to resolve this same issue.

Running Alfresco Community 3.4a on Windows 2008 R2 w/MySQL.

mrogers
Star Contributor
Star Contributor
These are "warnings" rather than errors.

If you have lots of memory you could increase the size of the cache.  But not too big otherwise you will go slower!

leonk
Champ in-the-making
Champ in-the-making
Where can I increase cache size?
Can you you please provide some details?

I have 150K users sync-ed from AD and 8GB of memory on this server.
I'm seeng this error all the time Smiley Sad

What would be a sane cache value (so it won't slow down alfresco)?

leonk
Champ in-the-making
Champ in-the-making
Is it here - alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/cache-context.xml ?
And again: any examples of sane values?

msvoren
Champ in-the-making
Champ in-the-making
Looking for the solution as well..

Once i made that "1000" to "1200" and system started to behave really strage, some of transactions got stuck (2 or 3) were going in the circle.. Returned value to 1000, restarted tomcat, and that didn't happen again.

ybxdde
Star Contributor
Star Contributor
Any 'sane' values suggested to anyone on this?  I received the following when trying to use the 'bulk import' of 30+ MB zipped content into a web project.

16:52:09,342 User:admin WARN  [alfresco.cache.avmEntityTransactionalCache] Transactional update cache 'org.alfresco.cache.avmEntityTransactionalCache' is full (5000).
16:52:34,020 User:admin WARN  [alfresco.cache.propertyValueTransactionalCache] Transactional update cache 'org.alfresco.cache.propertyValueTransactionalCache' is full (1000).
16:52:44,371 User:admin WARN  [alfresco.cache.contentDataTransactionalCache] Transactional update cache 'org.alfresco.cache.contentDataTransactionalCache' is full (1000).

mrogers
Star Contributor
Star Contributor
The default values are "sane"

ybxdde
Star Contributor
Star Contributor
So a person can just ignore these transactional cache full warnings and not modify the values? 

Also wondering if it is better to load large amounts of content into a web project via CIFS rather than bulk import?  Via bulk import an almost 300 MB zip file choked Alfresco….ended up having to kill the import and recycle Alfresco to clear.  Any suggestions would be appreciated!

mrogers
Star Contributor
Star Contributor
Yes they are just warnings.

Yes you could use one of the file system protocols.  Or possibly split your big import file into a few smaller chunks.