What is the process cpanelsolr on cPanel servers and how to disable cpanelsolr
cpanelsolr was introduced in cPanel version 64. cpanelsolr uses Java to index email messages managed by dovecot. cPanel describe the service as;
Fast Email Searching (IMAP Full-Text Search) Full-Text Search Indexing (powered by Solr) provides fast search capabilities for IMAP mailboxes. Users of iOS devices, Microsoft® Outlook™, SquirrelMail, Horde, Roundcube, and Mozilla™ Thunderbird will notice significantly improved search speed and convenience.
Unless you have high email usage this service is probably not needed and there have been reports this service consumes a lot of memory. On low memory systems, you would be advised to disable cpanelsolr.
How to disable cpanelsolr
To disable cpanelsolr can use the service manager inside WHM to enable and disable services. For the puropose of this post, we will just deal with the cpanel-dovecot-solr service.
Follow the steps below to disable the cpanel-dovecot-solr service.
1) Login to WHM with the root user account
2) Select “Service Manager”
3) Once the page loads untick the two boxes next to the cpanel-dovecot-solr service.
4) Click save at the bottom of the page
This will now disable the cpanel-dovecot-solr service and you should notice your memory usage won’t be as high. It’s important to remember you should only disable this service if you are having problems with it or your system is running a low amount of memory. Any system over 4GB of ram running the defaults provided by cPanel should be fine leaving the service enabled.
If you are running a VPS server on CentOS 6.5 or higher check to see if you have v-swap enabled on your server. If not enable v-swap or ask your provider to enable it, this will also help the performance of your server.
How was this article? – What is the process cpanelsolr on cPanel servers and how to disable cpanelsolr