Author Topic: Very slow search speed in mailbox  (Read 1940 times)

Offline hudys

  • Newbie
  • *
  • Posts: 2
Very slow search speed in mailbox
« on: August 25, 2023, 02:36:02 PM »
Hello,

I have Ubuntu 22 with RoundCube 1.5 running on Apache2 + PHP8.1. I have a problem with searching mail in mailbox. This maibox have about 33000 messages. Searching took about 2 minutes sometimes 5 minutes. Have you any idea what can i do for better performence ? Server running on AMD Epyc + DDR4 + SSD. On server runnig one VM for Roundcube and second VM for dovecot and storage.

Thank you.

Offline Dmitry42

  • Full Member
  • ***
  • Posts: 232
Re: Very slow search speed in mailbox
« Reply #1 on: August 25, 2023, 08:15:26 PM »
Hi!
This is not Roundcube problem - its normal imap-server work.

If you use Dovecot then read about Dovecot FTS (full text search https://doc.dovecot.org/configuration_manual/fts/ ) - here is different ways to speedup search.

For my server I use Xapian (https://github.com/grosjo/fts-xapian?ysclid=llr9qwvrer687632366) -its free and easy install.

Offline hudys

  • Newbie
  • *
  • Posts: 2
Re: Very slow search speed in mailbox
« Reply #2 on: August 27, 2023, 04:51:42 PM »
Hi,

thank you, ... Its seems Ok ,.. now is spped perfect :)

Thank you