Skip to main content

How to increase the Solr memory limit

Comments

4 comments

  • Jean Boudreau
    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
  • Syneic
    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
  • cPanelMichael
    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
  • Syneic
    Exactly what i was looking for, thank you.
    0

Please sign in to leave a comment.