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

[HTCondor-users] cgroups in RHEL 7



Hi,

Is the cgroup support in HTCondor expected to work in RHEL 7/SL7? I've done a test using the standard way of enabling cgroups, i.e. I installed libcgroup-tools, added to /etc/cgconfig.conf:

group htcondor {
        cpu {}
        cpuacct {}
        memory {}
        freezer {}
        blkio {}
}

started cgconfig and added to the condor config:

BASE_CGROUP = htcondor
CGROUP_MEMORY_LIMIT_POLICY = soft

Directories such as /sys/fs/cgroup/memory/htcondor and /sys/fs/cgroup/cpu/htcondor were created as expected (including contents). However, when trying to run jobs, messages like this appeared in ProcLog:

03/29/15 08:48:07 : Setting cgroup to htcondor/condor_pool_condor_slot1_2@xxxxxxxxxxxxx for ProcFamily 28946.
03/29/15 08:48:07 : Unable to create cgroup htcondor/condor_pool_condor_slot1_2@xxxxxxxxxxxxxx  Cgroup functionality will not work: Cgroup, operation not allowed

The RHEL 7 documentation recommends not using libcgroup as it has been deprecated. Do we need to wait for HTCondor to support cgroups in a systemd compatible way, or is there a known way of getting it to work using libcgroup?

For the record I'm using HTCondor 8.3.4 on SL7.

Thanks,
Andrew.