[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] cgroup setup with centOS7/systemctl?



On 03/13/2017 09:47 AM, Thomas Hartmann wrote:
> systemd's handling of cgroups is confusing me a bit

systemd should be taken out and shot. This seems to work for me, don't
ask why or how:

yum in libcgroup-tools
systemctl enable cgred
systemctl enable cgconfig

/etc/cgrules.conf:
*               *               default/

/etc/cgconfig.d/condor.conf:
group htcondor {
    cpu {}
    cpuacct {}
    memory {}
    freezer {}
    blkio {
        blkio.throttle.write_bps_device = "8:0 104857600
8:16 104857600";
    }
}

/etc/condor/config.d/10_pool.conf
BASE_GROUP = htcondor

HTH.
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature