Long startup time (1h 30m)

Bill Earle bill at buffalo.edu
Thu Oct 7 14:13:23 EDT 2004



On Thu, 7 Oct 2004, Jules Agee wrote:

> I've had this happen a few times, reconstructing the deliver db on
> startup. I don't think this db is used for anything besides duplicate
> delivery suppression, is it? Is there a recommended way to clean this
> out periodically?

Jules,

Look at the man page for "cyr_expire" and "cyrus.conf".

In recent releases you would have an entree similar to this
in the EVENTS section of the cyrus.conf file:

  delprune      cmd="cyr_expire -E 3" at=0400


- Bill


> I rarely get duplicates that show up more than a
> minute apart. I think it would be ideal to clean out all references to
> messages more than a week old, since getting duplicates more than a week
> apart would practically never happen.
>
> -Jules
>
> Dennis Sjogren wrote:
> > Greetings!
> >
> > We've been running the Cyrus IMAP server for couple of months now. Apart
> > from the server experiencing high load (we'll throw money at it and see
> > what happens) from time to time, it's mostly been smooth sailing.
> >
> > However, one thing is a bit worrying. Startup of the Cyrus software
> > takes about 1 hour and 30 minutes. For some reason, email services seems
> > important to our users. :) Anyway, as any organization, we try to
> > minimize downtime in core services as much as possible, but this long
> > startup time really makes that difficult.
> >
> > I've googled ALOT, and found some users with similar problems or worse.
> > Some guy had a startup time of 4 hours! However, no real solution has
> > emerged. The wiki suggests checkpointing more often, but we already do
> > that every 10 minutes. Shouldn't that be enough?
> >
> > Any suggestions, ideas, comments would be appreciated. Developers
> > comments? Here are our specs:
> >
> > HOST: Sun Sunfire V240
> > CPU:  2 x 1.2GHz
> > MEM:  2GB (will be upgraded to 4GB asap)
> > DISK: (db) 2 x 10k RPM, internal, mirrored, UFS, nologging
> > DISK: (spool) SAN (6120-system)
> >
> > Cyrus v2.2.5, BerkelyDB 4.2 + default patches
> > Everything compiled with GCC 3.4.0
> > mailboxes.db about 10MB
> > deliver.db about 18MB
> > About 10k users on system, unknown number of mailboxes, though about 4M
> > inodes are used on /var/spool/imap.
> --
> Jules Agee
> System Administrator
> Pacific Coast Feather Co.
> julesa at pcf.com      x284
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list