[prev in list] [next in list] [prev in thread] [next in thread]
List: cyrus-info
Subject: squatter stops when it encounters a locked mailbox?
From: nodens2099 () gmail ! com (Clement Hermann (nodens))
Date: 2011-06-21 21:34:28
Message-ID: 4E010E64.6060406 () gmail ! com
[Download RAW message or body]
Le 21/06/2011 18:28, Michael D. Sofka a ?crit :
> I run squatter in a perl program that forks three parallel squatter
> processes on individual user's mailboxes. If a mailbox is locked the
> particular squatter processing the mailbox quits, but the main program
> continues to fork new processes for the remaining mailboxes. The program
> checkpoints each user, shuts down at 6 A.M., and continues where it left
> off the following day.
Looks nice.
Maybe you could share this script ? I could use a squatter with some
parallelization and a way to stop it when the load is starting to grow
(like in the morning). I guess it could be modified to use other
parameters to know when to stop : number of logged-in users or imap/pop
processes, system load...
Cheers,
--
Clement Hermann (nodens)
- "L'air pur ? c'est pas en RL, ?a ? c'est pas hors charte ?"
Jean in L'Histoire des Pingouins, http://tnemeth.free.fr/fmbl/linuxsf/
Vous trouverez ma clef publique sur le serveur public pgp.mit.edu.
Please find my public key on the public keyserver pgp.mit.edu.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic