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

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

systemd's handling of cgroups is confusing me a bit

As far as I can see, the default cgroup unit should evaluate
/etc/cgconfig.conf [1]. Since systemd seems to mount cgroup per default to
and I have not yet managed to convince it to mount it on
instead (our path with SL6), I just ask for creating a htcondor group on
startup [2]. However, no htcondor cgroup gets available in
In principle it should work, Iguess - at least I can create it manually,
  cgcreate -a condor -g memory,cpu:htcondor
which should be equivalent to [2], or??

Cheers and thanks for ideas,

> /usr/lib/systemd/system/cgconfig.service
ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L
/etc/cgconfig.d -s 1664

> /etc/cgconfig.conf
group htcondor {
      cpu {}
      cpuacct {}
      memory {}
      freezer {}
      blkio {}

On 2017-03-13 10:51, Thomas Hartmann wrote:
> Hi all,
> with /etc/cgconfig.conf being deprecated under CentOS7/systemctl, I
> wonder if there is already a 'canonical' approach on how to setup/run
> cgroup configs for Condor under systemctl?
> Would be creating an overall unit for condor (or setting resources via
> systemctl set-property for condor.service) the way to go?
> I suppose jobs will be in the condor.service cgroup - would additional
> steps be necessary for setting any job resources (systemd-run?)?
> Cheers and thanks,
>   Thomas
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature