ctl_cyrusdb looping w/o activity

Mathias Koerber Mathias.Koerber at nominum.com
Tue Nov 21 08:41:41 EST 2006


I had a crash of my server (bad PSU). On reboot with the new PSU,
everything came up fine, only cyrus didn't.
This is cyrus-imapd-2.2.12 on an older FC2..


ctl_cyrusdb -r gets called my master, and mmaps db/__db.001
then chews up >90% CPU and strace shows no more activity.

calling ctl_mboxlist -d also starts up, but soon
waits on a futex forever (whether ctl_cyrusdb is running or
not)

It has been going for hours.

What is the procedure to rebuild the DB from scratch?
I have a text backup of the mboxlist.

Can I just wipe db/, use ctl_mboxlist -u to read
in the text-backup of the mboxlist and then
reconstruct all mailboxes?
(if ctl_mboxlist does in fact not again hang on the mutex).

any info is highly appreciated !

Mathias



More information about the Info-cyrus mailing list