Any ideas? Cyrus takes 5 minutes to start - SOLVED
Rosenbaum, Larry M.
rosenbaumlm at ornl.gov
Wed Mar 15 17:05:55 EST 2006
I found the problem - when I built cyrus it couldn't detect mmap, so it
built without it. I rebuilt it with mmap support and now it only takes
5 seconds to start up.
> -----Original Message-----
> From: Simon Matter [mailto:simon.matter at ch.sauter-bc.com]
> Sent: Monday, March 13, 2006 9:52 AM
> To: Kjetil Torgrim Homme
> Cc: Rosenbaum, Larry M.; info-cyrus at lists.andrew.cmu.edu
> Subject: Re: Any ideas? Cyrus takes 5 minutes to start
>
> > 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