Reconstruct dying with bus error

Zachariah Mully zmully at
Mon Oct 24 09:22:28 EDT 2011

On 10/20/2011 04:44 PM, Zachariah Mully wrote:
> Howdy all-
> I'm running into many mailboxes moved from 2.2.13 to 2.4.12 which
> reconstruct barfs on with a 'Bus error'. I'm running reconstruct as such :
> # find /var/spool/cyrus/mail2 -maxdepth 3 -mindepth 3 -type d | sed
> s:/var/spool/cyrus/mail2/[a-z]/::g | xargs -n 1 reconstruct
> It continues to barf on all subsequent runs of reconstruct. If I resync
> it from the 2.2.13 server, and run reconstruct on just that mailbox, it
> works fine.

So for future reference, it looks like the 2.4.x reconstruct really 
hates 2.2.x cyrus.cache files. I deleted all the sync'ed cache files on 
the new machine and reconstruct ran fine.

If you can spare the downtime, I definitely recommend running 
reconstruct on your INBOXes and Sent folders before allowing people 
access again to the servers. It took about 10 hours to complete the 
reindex of our 150 users, a large majority of that was consumed by some 
heavy users (one in particular had 79,000 messages in his INBOX, which 
took close to an hour to rebuild). Yes, we were severely I/O bound.

Thanks to the wonders of the smartphone, as soon as I started cyrus back 
up early Saturday morning, I had 100+ connections within 5 minutes. 
Thank god each didn't kick off a reindex...


More information about the Info-cyrus mailing list