<div dir="ltr"><div>Hi Jose ! Thanks for answering !</div><div><br></div><div>Your explanations are very appropriate and I couldn't agree more !</div><div><br></div><div>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.</div>
<div><br></div><div>-- <br><pre><font face="'courier new', monospace">My best regards,
Fabio Soares Schmidt</font></pre></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 July 2014 16:19, Jose Luis Rodriguez Garcia <span dir="ltr"><<a href="mailto:joseyluis@gmail.com" target="_blank">joseyluis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>I am not a cyrux expert, but why are you worried that a core is loaded?<br>
<br></div>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)?<br>
</div>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.<br>
<br></div>I think that it is more appropriate measure the total usage of cpu of the server.<br></div><div class=""><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 6:58 PM, Fabio S. Schmidt <span dir="ltr"><<a href="mailto:fabio@improve.inf.br" target="_blank">fabio@improve.inf.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">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.</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">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?</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks everyone for answering this thread, I know that my english is not so good but I'm trying to improve it !</div><div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">-- </span><br style="font-family:arial;font-size:small"><pre><font face="'courier new', monospace">My best regards,
Fabio Soares Schmidt</font></pre></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 July 2014 03:03, Bron Gondwana <span dir="ltr"><<a href="mailto:brong@fastmail.fm" target="_blank">brong@fastmail.fm</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>
<div><div>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.<br>
</div>
<div> </div>
<div>Bron.<br></div><div><div>
<div> </div>
<div> </div>
<div>On Tue, Jul 15, 2014, at 04:13 AM, Fabio S. Schmidt wrote:<br></div>
</div></div><blockquote type="cite"><div><div><div dir="ltr"><div>Hi !<br></div>
<div> </div>
<div>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?<br></div>
<div> </div>
<div>Here is my entry:<br></div>
<div> </div>
<div><span style="font-family:arial,sans-serif"><span style="font-size:13px">squatter_1 cmd="/usr/bin/</span></span><span style="font-family:arial,sans-serif"><span style="font-size:13px">nice +n 19 /usr/lib/cyrus/</span></span><span style="font-family:arial,sans-serif"><span style="font-size:13px">bin/squatter -s -i -r user" period=180</span></span><br>
</div>
<div> </div>
<div> </div>
<div><div>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.<br>
</div>
<div> </div>
<div>-- <br></div>
<pre><span>My best regards,
Fabio Soares Schmidt
Linux Professional Institute - LPIC-3
Microsoft Certified Technology Specialist: Active Directory</span><br></pre></div>
</div>
</div></div><div>----<br></div><div>
<div>Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank">http://www.cyrusimap.org/</a><br></div>
<div>List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br></div>
<div>To Unsubscribe:<br></div>
<div><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br></div>
</div></blockquote><div> </div>
<div><div>--<br></div>
<div>Bron Gondwana<br></div>
<div><a href="mailto:brong@fastmail.fm" target="_blank">brong@fastmail.fm</a><br></div>
<div> </div>
</div>
<div> </div>
</div>
<br>----<br>
Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank">http://www.cyrusimap.org/</a><br>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
To Unsubscribe:<br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></blockquote></div>
</div></div></div></div>
<br>----<br>
Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank">http://www.cyrusimap.org/</a><br>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
To Unsubscribe:<br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></blockquote></div></div></div></div></blockquote></div><pre></pre>
</div></div>