AnsweredAssumed Answered

Alfresco production server Solr indexing cron takes more time

Question asked by kpatel on Aug 17, 2018

Hi All Angel Borroy Jayesh Prajapati,

 

Currently, I am using alfresco community 5.0d version in production server.

We have allocated 10GB RAM to the hosted instance.

 

Now the problem is I want to get all document noderefs which are tagged by requested tag value.

Due to this problem 

I was changed solr corn indexing time(Every 3 seconds)

alfresco.cron=0/3 * * * * ? *

It's working fine. But when this cron job is run its takes 14 to 15 seconds to finish its work, Due to that other API response gets delayed.

(Log file is attached below).
here is some information regarding server :

 

Current memory allocation :

-XX:NewSize=1536m
-XX:MaxNewSize=1536m
-Xms4096m
-Xmx8192m

 

Current contentstore size is 149GB.

 

Solr properties : 

# HTTP Client

alfresco.maxTotalConnections=200
alfresco.maxHostConnections=200
alfresco.socketTimeout=360000

# SOLR caching

solr.filterCache.size=256
solr.filterCache.initialSize=128
solr.queryResultCache.size=1024
solr.queryResultCache.initialSize=1024
solr.documentCache.size=1024
solr.documentCache.initialSize=1024
solr.queryResultMaxDocsCached=2048

solr.authorityCache.size=128
solr.authorityCache.initialSize=64
solr.pathCache.size=256
solr.pathCache.initialSize=128

solr.ownerCache.size=128
solr.ownerCache.initialSize=64

solr.readerCache.size=128
solr.readerCache.initialSize=64

solr.deniedCache.size=128
solr.deniedCache.initialSize=64

# SOLR

solr.maxBooleanClauses=10000

# Batch fetch

alfresco.transactionDocsBatchSize=500
alfresco.nodeBatchSize=100
alfresco.changeSetAclsBatchSize=500
alfresco.aclBatchSize=100
alfresco.contentReadBatchSize=4000
alfresco.contentUpdateBatchSize=1000

# Warming

solr.filterCache.autowarmCount=32
solr.authorityCache.autowarmCount=4
solr.pathCache.autowarmCount=32
solr.deniedCache.autowarmCount=0
solr.readerCache.autowarmCount=0
solr.ownerCache.autowarmCount=0
solr.queryResultCache.autowarmCount=4
solr.documentCache.autowarmCount=512

solr.queryResultWindowSize=512

 

So which are necessary step take to solve this server slowness issue?

Thanks in Advance.

 

Attachments

Outcomes