Re: Slow start of imap service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 1, 2018, at 12:32 PM, ellie timoney wrote:
> You could use the tls_sessions_db_path imapd.conf(5) option to put this 
> database onto faster storage?
> 
> >          tls_sessions_db_path: <none>
> >              The absolute path to the TLS sessions db file. If not specified, will  be
> >              configdirectory/tls_sessions.db
> 
> If you have the RAM for it, you should be able to put tls_sessions.db on 
> a tmpfs filesystem.  This database is only a cache, so nothing valuable 
> will be lost if the machine is rebooted; and as a cache, it benefits 
> from being on the fastest storage you have available. :)

Buuut, note that there's a bug in current releases of 2.5 where tls_prune will fail if the tls_sessions.db doesn't exist, preventing the server starting up.  This will occur after ever reboot if you put this database on ephemeral storage!  You can work around this by having your service init script touch the file before running master.

The real fix for this is already in git, so it will be included in 2.5.12, which will hopefully be out this week!

Cheers,

ellie
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux