Cyrus squatter using only a single core

Fabio S. Schmidt fabio at improve.inf.br
Tue Jul 15 15:31:19 EDT 2014


Hi Jose ! Thanks for answering !

Your explanations are very appropriate and I couldn't agree more !

In fact, I'm just concerned if squatter causing a high load on a core even
when running with nice 19 is the normal behavior, but I realize that it is
more a question about Linux than Cyrus.

-- 

My best regards,
Fabio Soares Schmidt



On 15 July 2014 16:19, Jose Luis Rodriguez Garcia <joseyluis at gmail.com>
wrote:

> I am not a cyrux expert, but why are you worried that a core is loaded?
>
> It means that the core is working on the task. Does the performance of the
> server suffer because of this (response time to users, etc)?
> I think that monitor for detect a high load in a core isn't appropriate
> measure of performance. It can be useful for detected a hanged process that
> takes all your cpu, or historical usages of the cores, but not for other
> purposes.
>
> I think that it is more appropriate measure the total usage of cpu of the
> server.
>
>
> On Tue, Jul 15, 2014 at 6:58 PM, Fabio S. Schmidt <fabio at improve.inf.br>
> wrote:
>
>> Thank you Bron ! Once I unfortunately do not have the knowledgement
>> necessary to create this patch, I will adjust my configurations to run
>> squatter at specific times and disable the CPU consumption trigger on my
>> monitoring solution.
>>
>> Even if when running with nice 19 my squatter process causes a high load
>> on the core which it's running, it this behavior normal?
>>
>> Thanks everyone for answering this thread, I know that my english is not
>> so good but I'm trying to improve it !
>>
>> --
>>
>> My best regards,
>> Fabio Soares Schmidt
>>
>>
>>
>> On 15 July 2014 03:03, Bron Gondwana <brong at fastmail.fm> wrote:
>>
>>>  Yes, all Cyrus processes are single threaded except mupdate.  I don't
>>> think that running squatter on multiple cores would necessarily be an
>>> improvement - and regardless, it's not a priority for me to implement.
>>> We'd accept a patch if someone did it and it integrated with the other
>>> stuff that's floating around on the fastmail branch.
>>>
>>> Bron.
>>>
>>>
>>> On Tue, Jul 15, 2014, at 04:13 AM, Fabio S. Schmidt wrote:
>>>
>>> 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 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
>>>
>>>  ----
>>> Cyrus Home Page: http://www.cyrusimap.org/
>>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>>> To Unsubscribe:
>>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>>
>>>
>>> --
>>> Bron Gondwana
>>> brong at fastmail.fm
>>>
>>>
>>>
>>> ----
>>> Cyrus Home Page: http://www.cyrusimap.org/
>>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>>> To Unsubscribe:
>>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>
>>
>> ----
>> Cyrus Home Page: http://www.cyrusimap.org/
>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>> To Unsubscribe:
>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20140715/0d7ff457/attachment.html 


More information about the Info-cyrus mailing list