How to increase the Solr memory limit
Hi,
We have several accounts which is 15+GB with several hundred thousand emails total.
And we can see index-worker running and solr process building in ram usage untill it reaches 512MB rss.
And after this happens searching in those inboxes takes upwards to 30minutes.
Do cPanel provide any way to adjust this through whm gui/api or do i need to change the config files ?
-
We also disabled Solr last year as we have many accounts with over 10GB of emails and they say the search was not working once we activated the Solr plugin. 0 -
I've had it disabled up until recently, but due to some email client software not building proper index files, they makes the server read all files in inbox while searching creating huge IO load on the server. Using solr has mitigated this, but now some have to much mail for solr in current configuration. 0 -
Hello @Syneic, The default memory limit for Solr is defined in /etc/sysconfig/cpanel-dovecot-solr: SOLR_MEMORY="512m"
Can you try increasing this value from 512m to 750m to see if that helps? Remember to restart the service after making the change:/usr/local/cpanel/scripts/restartsrv_cpanel_dovecot_solr
Thank you.0 -
Exactly what i was looking for, thank you. 0
Please sign in to leave a comment.
Comments
4 comments