Solved: Re: Help please, cyrus imapd production system down
Bron Gondwana
brong at fastmail.fm
Thu Mar 27 18:26:47 EDT 2008
On Thu, Mar 27, 2008 at 02:01:05PM -0500, Mike Eggleston wrote:
> On Thu, 27 Mar 2008, Andrew Morgan might have said:
>
> > On Thu, 27 Mar 2008, Mike Eggleston wrote:
> >
> > >Problem solution:
> > >remove the user's seen file at /var/lib/imap/user/?/$USER.seen
> > > no restarting of cyrus required after removing the broken file
> > >
> > >Environment:
> > >Fedora Core 5 (current patches)
> > ># rpm -qa | grep cyrus
> > >cyrus-imapd-devel-2.3.1-2.8.fc5
> > >cyrus-sasl-lib-2.1.21-10
> > >cyrus-sasl-2.1.21-10
> > >cyrus-imapd-utils-2.3.1-2.8.fc5
> > >cyrus-sasl-ldap-2.1.21-10
> > >cyrus-imapd-2.3.1-2.8.fc5
> > >cyrus-sasl-devel-2.1.21-10
> >
> > There have been quite a few reliability fixes in skiplist handling added
> > over the 2.3 lifecycle. Upgrading to a current version of Cyrus should
> > help.
> >
> > We haven't had corrupted skiplist seen files in quite a while. I have
> > only recently upgraded from 2.2.13 to 2.3.11, so I can't really say which
> > version of Cyrus fixed the problem for us.
> >
> > Andy
>
> Are there any problems, compatibility or conversion issues, when upgrading?
Mike - if you don't want to upgrade, but are willing to rebuild your
Cyrus package from source, you could just copy the attached
cyrusdb_skiplist.c file over the one in $BASEDIR/lib/ instead. I'm
pretty sure there are no cross dependencies.
This is taken from my 2.3.11 tree with extra patches (I seem to be
posting those patches a lot!) for sanity checking and integrity
assertions. With these patches applied I have been unable to cause
any damage to the underlying skiplist files no matter how hard I
abuse the API with my testing programs!
Regards,
Bron.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrusdb_skiplist.c
Type: text/x-csrc
Size: 59868 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20080328/10d5f837/attachment-0001.bin
More information about the Info-cyrus
mailing list