Hi,
I was trying to login to alfresco server, but i was not able to. Found the following warning in catalina.out:
WARN [cache.node.nodesTransactionalCache] [defaultAsyncAction2] Transactional update cache 'org.alfresco.cache.node.nodesTransactionalCache' is full (125000)
Could someone help me what is causing the issue..?
Cache settings in alfresco-global.properties:
cache.node.nodesSharedCache.maxItems=2500000
cache.node.aspectsSharedCache.maxItems=1300000
cache.node.propertiesSharedCache.maxItems=1300000
cache.contentDataSharedCache.maxItems=1300000
cache.contentUrlSharedCache.maxItems=1300000
A transactional cache being full means that some code / logic has been loading a high number of elements, which were previously not cached, from the DB within a single transaction. Transactional cache sizes are limited for a reason (to avoid runaway resource consumption and overly expensive cache update processing at commit time), and once exceeded will cause the global shared cache to be cleared instead of updated, to ensure there are no stale data entries.
It is generally NOT a good idea to just increase the maxItems configuration without really understanding the cause, i.e. which piece of code / logic is causing an excessive load of data in a single transaction. Ideally, such cases should be identified and either be rectified via configuration / code change. One example would be a background job processing data which should be configured to use smaller batches, e.g. synchronising users from LDAP/AD or activity feed processing.
In your example, you aren't actually changing the size of the transactional cache, because you are using the wrong properties. The correct properties have a slightly different name pattern, ending in *.tx.maxItems
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.