Any ideas? Cyrus takes 5 minutes to start

Simon Matter simon.matter at ch.sauter-bc.com
Mon Mar 13 09:51:32 EST 2006


> On Mon, 2006-03-13 at 09:34 -0500, Rosenbaum, Larry M. wrote:
>> We have just upgraded from an ancient version of Cyrus to a new one on
>> some new hardware.  I have discovered that Cyrus takes 4-5 minutes to
>> start:
>>
>> Feb 25 13:42:15 email master[327]: process started
>> Feb 25 13:42:15 email ctl_cyrusdb[346]: recovering cyrus databases
>> Feb 25 13:43:07 email ctl_cyrusdb[346]: skiplist: recovered
>> /var/imap/mailboxes.db (30547 records, 2591408 bytes) in 52 seconds
>> Feb 25 13:43:07 email ctl_cyrusdb[346]: skiplist: recovered
>> /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
>> Feb 25 13:47:04 email ctl_cyrusdb[346]: done recovering cyrus databases
>> Feb 25 13:47:04 email master[327]: ready for work
>>
>> What was it doing between 13:43:07 and 13:47:04?  Is there any way to
>> speed this up?
>
> sure, shut down Cyrus cleanly before you reboot.  send SIGTERM to master
> and allow it some seconds to finish off the work, should do the trick.

I don't think unclean shutdown is the problem here. Skiplist recovery
always happens on startup, it works as designed.

Simon


More information about the Info-cyrus mailing list