lmtpd triggering a delivery.db checkpointing (Cyrus 2.3.16)

Bron Gondwana brong at fastmail.fm
Tue May 17 19:54:06 EDT 2016


> What we do at FastMail to make deliver.db not suck is store it on tmpfs.  The repack is tons faster.  Sure you lose it over a full server restart, but all you lose is the duplicate suppression.  If you wanted to be really clever about it, you could copy the file during the shutdown script and maybe once per hour otherwise, and copy it back onto tmpfs during startup.
> 
> duplicate_db_path: /var/run/cyrus/duplicate.db

oh right, 2.3.x doesn't have duplicate_db_path.

I think your choices are either to hack that option into your codebase so that you can move the duplicate DB onto tmpfs, live with what you've got (possibly by putting /var/imap on fast disk/SSD), or upgrade to a Cyrus that isn't 10 years old!

Bron.

-- 
  Bron Gondwana
  brong at fastmail.fm


More information about the Info-cyrus mailing list