AnsweredAssumed Answered

Solr4 and ACLs

Question asked by butterman on Jun 16, 2015
Latest reply on Sep 7, 2015 by butterman
We have an alfresco community 5.0.c environment. Previously used 3.4.d and upgraded through several versions. We created a new solr4 index from scratch after the final upgrade.

We currently have about 1500 sites and 200 users assigned to 15 groups. We assign groups to sites as their involvement with each site requires.

When adding a group to a site membership (or any ACL change for that matter) I notice that solr consistently takes a lot of resources (CPU and memory) while indexing the change for about 15mins! I can’t figure out why this is the case even when there are no documents in the site. It’s almost as though it has to re-index all the nodes that group has access to. Can anybody explain this behavior? What exactly is solr doing when notified of an ACL change like this?

Whilst not hindering system performance yet I am worried that as our repo grows this will become unsustainable.

In the alfresco core we currently have:
300k nodes
307k transactions
56k ACLs
30k ACL transactions

server: Centos 5.4 VM, 16G RAM, 4 cores, 4GB JVM, MySQL 5.6, Tomcat 7