Cyrus 2.4.6 problem with delayed expunge mode

Rudy Gevaert Rudy.Gevaert at UGent.be
Wed Feb 9 05:48:47 EST 2011


> On Tue, Feb 8, 2011 at 7:36 AM, Bron Gondwana <brong at fastmail.fm> wrote:
>> Oohh... I suspect you're being bitten by this: (from man imapd.conf)
>>
>>  expunge_days: 7
>>      Number  of  days  to  retain  expunged messages before cleaning up
>>      their index records.  The default is 7.   This  is  necessary  for
>>      QRESYNC  to  work  correctly.   If  combined  with delayed expunge
>>      (above) you will also be able to unexpunge  messages  during  this
>>      time.
>>
>> So it will  clean up after 14 days actually - if you haven't done
>> the cleanup yourself in the meantime with cyr_expire.  This is done
>> during mailbox close.  It's me trying to be more clever than I should!
>> The easy fix is just to put "expunge_days: 60" in your config.  Longer
>> term I want to fix cyr_expire not to be so complex and multi-function.
>> Even just better defaults would be good!  At the moment it will still
>> wipe all expunged messages if you get the command line wrong.

I had this very strange problem this morning, maybe concerning to the  
above too!

Several of our master processes went away without any good reason!   
This was the first time.

mail19/lmtp[31757]: unable to tell master 2: Broken pipe

For the moments where it happened it was all at ~7:30 AM.  Just at the  
same time we run cyr_expire!

cyrus.conf:

   delprune      cmd="/usr/cyrus-2.4.6/bin/cyr_expire -C  
/etc/cyrus-ugent/conf/mail15/imapd.conf -D 31 -E 8 -X 31" at=0730

I was not aware of the imapd.conf delayed_expung parameter!  So it is  
still the default.  Previously -D and -X was set to 7!  I changed that  
exactly one week ago to 31.

However, cyr_expire runs ok:

Feb  9 07:33:37 cyrprd3 mail15/cyr_expire[32118]: Removed 0 deleted mailboxes
Feb  9 07:33:37 cyrprd3 mail15/cyr_expire[32118]: duplicate_prune:  
pruning back 8 days
Feb  9 07:33:44 cyrprd3 mail15/cyr_expire[32118]: duplicate_prune:  
purged 2108 out of 134761 entries




-- 
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  Rudy Gevaert                             e-mail: Rudy.Gevaert at UGent.be
  Directie ICT, Afdeling Infrastructuur
  Groep Systemen                                      tel: +32 9 264 4750
  Universiteit Gent                                   fax: +32 9 264 4994
  Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



More information about the Info-cyrus mailing list