<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>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.<br><br>Thanks & Regards.<br><br>Manel Gimeno Zaragoza<br>magiza83@hotmail.com<br><br><br><div><div id="SkyDrivePlaceholder"></div>> From: brong@fastmail.fm<br>> To: magiza83@hotmail.com<br>> CC: info-cyrus@lists.andrew.cmu.edu<br>> Subject: RE: Problem recover replica<br>> Date: Thu, 16 Feb 2012 13:32:49 +0100<br>> <br>> On Thu, Feb 16, 2012, at 01:22 PM, Manel Gimeno Zaragozá wrote:<br>> > <br>> > Hello Bron,<br>> > <br>> > Regarding your integrty check, could you please paste it? <br>> <br>> It's a big hairy piece of perl. Latest copy attached.<br>> <br>> > It could be a good guide to made my own, as right now I'm doing the following tree checks:<br>> > <br>> > 1) number of mailbox and ACLS (diff md5sum of "ctl_mboxlist -d")<br>> <br>> Fair enough.<br>> <br>> > 2) number of emails in /var/spool/imap (find -type f /var/spool/imap)<br>> <br>> Ouch! You can afford that? That's a lot of stat IO. We use the cyrus.index<br>> information.<br>><br>> > 3) du of /var/spool/imap<br>> <br>> That's unlikely to be an exact match... particularly if you have delayed expunge.<br>> <br>> > 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.<br>> <br>> We try three times with a 1 second delay. Usually get a clean read. If not,<br>> then we look at it. Occasional false positive, but not too noisy. We don't<br>> stop things.<br>> <br>> > 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.<br>> <br>> stage. is used by imap APPEND (and pop, and nntp, and lmtp)<br>> sync. is used by replication.<br>> <br>> In both cases, they are a temporary location where uploaded files are placed<br>> until upload and integrity checks have been completed, before being copied into<br>> their final spool location.<br>> <br>> <br>> Regards,<br>> <br>> Bron.<br>> -- <br>> Bron Gondwana<br>> brong@fastmail.fm<br>> <br></div>                                            </div></body>
</html>