Cyrus squatter using only a single core
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon Jul 14 16:12:42 EDT 2014
Hi,
Quoting "Fabio S. Schmidt" <fabio at improve.inf.br>:
> Hi !
>
> I'm running Cyrus 2.4.14 on Debian 6 64 Bits and I've noticed that when
> squatter is running it only uses a single core. Has this behavior been
> improved on newer versions?
>
> Here is my entry:
>
> squatter_1 cmd="/usr/bin/nice +n 19 /usr/lib/cyrus/bin/squatter -s -i -r
> user" period=180
>
i think you are running the squatter to often.
period=180 will run it every 3h. If there is more then one sqatter running,
it second will catch up and the proceses will have to wait for the mailbox
lock.
We run our squatter, expire and backup once each night, when there is less
IO traffic.
you can use at= instead of period=. See cyrus.conf manpage for details
Regards
Michael Menge
>
> I do run it with "nice +19" but It causes a high load on the core it's
> running and triggers an alert on my monitoring solution. I know that this
> alert could be deactivated, but maybe I'm doing something wrong with
> squatter.
>
> --
>
> My best regards,
> Fabio Soares Schmidt
>
>
> Linux Professional Institute - LPIC-3
> Microsoft Certified Technology Specialist: Active Directory
>
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universität Tübingen Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5425 bytes
Desc: S/MIME Signatur
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20140714/675ca015/attachment.bin
More information about the Info-cyrus
mailing list