Roundcube Search 10 Secs

Hi HestiaCP Community,

I’m experiencing slow search performance in Roundcube—each query takes about 10 seconds, regardless of what I search. The search scope is set to “Entire Message.”

I installed Solr to speed up IMAP searches in Dovecot, and I can confirm it’s working because running:

doveadm search -u [email protected] text "random"

returns results almost instantly. This leads me to believe the issue is with Roundcube.

ROUNDCUBE IMAP LOGS:

[01-Mar-2025 14:42:47 -0500]: <592cm6ku> [9606] C: A0004 UID SEARCH RETURN (ALL) TEXT news                                                                                                                      │
[01-Mar-2025 14:42:57 -0500]: <592cm6ku> [9606] S: * ESEARCH (TAG "A0004") UID ALL 49,51,113,134,143,160,185,206,214,221,224,226,237,263,268:271,273,284:285,289,292,295,302,317,358,368,382:383,386:387,394,398│
[01-Mar-2025 14:42:57 -0500]: <592cm6ku> [9606] S: ,10288,10302,10313,10320,10325,10336,10347,10361,10369,10372,10424,10426,10440,10451:10452,10468,10476:10478,10485:10486,10490,10495:10497,10499:10500,10502:│
[01-Mar-2025 14:42:57 -0500]: <592cm6ku> [9606] S: A0004 OK Search completed (9.914 + 0.001 + 0.180 secs). 

Has anyone encountered this before or have any suggestions?

Thanks!

For anyone who’s interested, I forgot to add the fts solr to the imap mail_plugins like so:

protocol imap {
mail_plugins = quota imap_quota fts fts_solr
}

All fixed… :slight_smile:

2 Likes