Re: Slow start of imap service

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

 



Op 01-10-18 om 10:32 schreef Paul van der Vlis:
> Op 01-10-18 om 05:13 schreef ellie timoney:
>> 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.
> 
> When I understand you well, I could also remove the database and create
> an empty file before starting. As a work-arround.

I do this now, and restarting takes now 2-3 minutes. So much better.
But I will also investigatie for faster storage or tmpfs.

With regards,
Paul van der Vlis


-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/

----
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