[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

RE: Problem recover replica



Hello,

I'm using "find -type f" in my test environment because it's just 5 o 6GB of data. In production I know I won't be able to use it. how do to check/dump/export cyrus.index information? I was trying to find some tool o script but I couldn't find it.

Thanks & Regards.

Manel Gimeno Zaragoza
magiza83@xxxxxxxxxxx


> From: brong@xxxxxxxxxxx
> To: magiza83@xxxxxxxxxxx
> CC: info-cyrus@xxxxxxxxxxxxxxxxxxxx
> Subject: RE: Problem recover replica
> Date: Thu, 16 Feb 2012 13:32:49 +0100
>
> On Thu, Feb 16, 2012, at 01:22 PM, Manel Gimeno Zaragozá wrote:
> >
> > Hello Bron,
> >
> > Regarding your integrty check, could you please paste it?
>
> It's a big hairy piece of perl. Latest copy attached.
>
> > It could be a good guide to made my own, as right now I'm doing the following tree checks:
> >
> > 1) number of mailbox and ACLS (diff md5sum of "ctl_mboxlist -d")
>
> Fair enough.
>
> > 2) number of emails in /var/spool/imap (find -type f /var/spool/imap)
>
> Ouch! You can afford that? That's a lot of stat IO. We use the cyrus.index
> information.
>
> > 3) du of /var/spool/imap
>
> That's unlikely to be an exact match... particularly if you have delayed expunge.
>
> > Anyway, I guess you run your script with both (MASTER & REPLICA) stopped, because if they are not I don't know how to compare if MASTER is receving info all the time.
>
> We try three times with a 1 second delay. Usually get a clean read. If not,
> then we look at it. Occasional false positive, but not too noisy. We don't
> stop things.
>
> > Lastly, I've noticed that in /var/spool/imap/ there are two folders "sync." and "stage.", could you please provide some information about them, because in my checks I've had to exclude them.
>
> stage. is used by imap APPEND (and pop, and nntp, and lmtp)
> sync. is used by replication.
>
> In both cases, they are a temporary location where uploaded files are placed
> until upload and integrity checks have been completed, before being copied into
> their final spool location.
>
>
> Regards,
>
> Bron.
> --
> Bron Gondwana
> brong@xxxxxxxxxxx
>
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Home]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Script Fu]

Powered by Linux