Solr MetadataTracker cause OOM

cancel
Showing results for 
Search instead for 
Did you mean: 
vincent-kali
Established Member

Solr MetadataTracker cause OOM

Jump to solution

Hi,

We're running alf5.2g CE / solr4 with less than 100K nodes in repo, and 12GB of java heap size, 16GB of system RAM.

Since somes days, we noticed a huge memory consumption and OOM errors. We were not able to link this behaviour with any particular change on the system. After a memory dump/analyse, we have seen that SolrTrackingPool-alfresco-MetadataTracker threads and org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$FreemarkerNodeMetaData webscripts are consuming 12GB of JVM !

Indexes in solr looks OK, but the MetadataTracker seems to become crazy......

Did somebody experienced similar problem ?

Thanks for your help,

Vincent

 

 

 

1 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: Solr MetadataTracker cause OOM

Jump to solution

The FIX command is performed by MetadataTracker, so it has for sure impact in the overload of alf tracker.

Hyland Developer Evangelist

View solution in original post

4 Replies
afaust
Master
vincent-kali
Established Member

Re: Solr MetadataTracker cause OOM

Jump to solution

Not really, we faced a very high memory/cpu consumption during hours (we finally understood that a FIX command on solr indexes have been run). Looks like it rebuild the whole indexes. Is the FIX command on solr supposed to overload the alf tracker ?

angelborroy
Alfresco Employee

Re: Solr MetadataTracker cause OOM

Jump to solution

The FIX command is performed by MetadataTracker, so it has for sure impact in the overload of alf tracker.

Hyland Developer Evangelist
vincent-kali
Established Member

Re: Solr MetadataTracker cause OOM

Jump to solution

Ok thanks. It seems that we're using groups in a way that alfresco doesn't support... I'll report this in a separate thread.