<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>Hi Colin,</div><div><br></div><div>Yes missing . was just a typo. I tried override.conf in <span><b><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/etc/systemd/system/</span><a shape="rect" href="mailto:systemd-nspawn@appscont.service.d" style="color: rgb(25, 106, 212); text-decoration-line: underline; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;" rel="nofollow" target="_blank">systemd-nspawn@appscont.service.d</a></b><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><b>/</b>, still I do not see any change in CPU utilization.</span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">Container processes(sh and sha1sum)  are using 50% CPU irrespective of CPUQuota in <span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"> <span><b>ExecStart=/usr/bin/systemd-nspawn --quiet --boot --link-journal=try-guest --machine=%i -n --property=CPUQuota=5% </b></span></span></span></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><b><br></b></span></span></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"></span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">I tried CPUQuota=5% under service section in override.conf instead of ExecStart, still the CPU usage is 50%</span></span></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">And also I tried both in ExecStart as well as separate entry of CPUQuota=5% under service section after ExecStart, <span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">still the CPU usage is 50%</span></span></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">Attached the systemd-cgls output for machine.slice.</span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></span></span></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><img title="Inline image" alt="Inline image" src="cid:cb4906a5-5789-a973-19eb-3429365f0d6a@yahoo.com" class="ydp5a236e90yahoo-inline-image" style="max-width: 800px; width: 100%;" draggable="false" data-id="<cb4906a5-5789-a973-19eb-3429365f0d6a@yahoo.com>"><br><br></span></span></div><div class="ydpfc324dcfsignature">Regards<br>Mahipal</div></div>
        <div><br></div><div><br></div>
        
        </div></div><div id="ydp69226f85yahoo_quoted_2556459605" class="ydp69226f85yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, 19 July, 2018, 10:41:14 AM GMT-4, Colin Guthrie <gmane@colin.guthr.ie> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr"><a shape="rect" href="mailto:patlollamahipal@yahoo.co.in" rel="nofollow" target="_blank">patlollamahipal@yahoo.co.in</a> wrote on 18/07/18 21:04:<br clear="none">> *override.conf* is effective when it is placed in<br clear="none">> */etc/systemd/system/<a shape="rect" href="mailto:systemd-nspawn@service.d" rel="nofollow" target="_blank">systemd-nspawn@service.d</a>/*<br clear="none"><br clear="none">I think you missed a . above:<br clear="none">/etc/systemd/system/<a shape="rect" href="mailto:systemd-nspawn@.service.d" rel="nofollow" target="_blank">systemd-nspawn@.service.d</a>/*</div><div dir="ltr"><br clear="none">> <br clear="none">> If I have file<br clear="none">> *<a shape="rect" href="mailto:systemd-nspawn@appscont.service" rel="nofollow" target="_blank">systemd-nspawn@appscont.service</a> *in */etc/systemd/system.control/<a shape="rect" href="mailto:systemd-nspawn@appscont.service.d" rel="nofollow" target="_blank">systemd-nspawn@appscont.service.d</a>,<br clear="none">> *it is not effective, it's using the template file.<br clear="none"><br clear="none">there is no system.control folder.<br clear="none"><br clear="none">You should place a file called override.conf (or anything.conf) in a<br clear="none">folder: /etc/systemd/system/<a shape="rect" href="mailto:systemd-nspawn@appscont.service.d" rel="nofollow" target="_blank">systemd-nspawn@appscont.service.d</a>/ if you<br clear="none">want the overrides defined in the .conf file to only apply to that one<div class="ydp69226f85yqt4240910706" id="ydp69226f85yqtfd29178"><br clear="none">machine.</div><br clear="none"><br clear="none">All the best and HTHs<br clear="none"><br clear="none">Col<br clear="none"><br clear="none"><br clear="none">-- <br clear="none"><br clear="none">Colin Guthrie<br clear="none">gmane(at)colin.guthr.ie<br clear="none"><a shape="rect" href="http://colin.guthr.ie/" rel="nofollow" target="_blank">http://colin.guthr.ie/</a><br clear="none"><br clear="none">Day Job:<br clear="none">  Tribalogic Limited <a shape="rect" href="http://www.tribalogic.net/" rel="nofollow" target="_blank">http://www.tribalogic.net/</a><br clear="none">Open Source:<br clear="none">  Mageia Contributor <a shape="rect" href="http://www.mageia.org/" rel="nofollow" target="_blank">http://www.mageia.org/</a><br clear="none">  PulseAudio Hacker <a shape="rect" href="http://www.pulseaudio.org/" rel="nofollow" target="_blank">http://www.pulseaudio.org/</a><br clear="none">  Trac Hacker <a shape="rect" href="http://trac.edgewall.org/" rel="nofollow" target="_blank">http://trac.edgewall.org/</a><div class="ydp69226f85yqt4240910706" id="ydp69226f85yqtfd09281"><br clear="none"></div></div></div>
            </div>
        </div></div></body></html>