spartan file limit config is wrong

Description

In /etc/systemd/system/dcos-spartan.service we currently specify

As of Centos 7.2.1511 systemd (v219) does not understand the soft:hard syntax for setting limits.

You can see this by checking /proc/<pid of spartan's beam.smp>/limits.

We should just switch to using

as this does the same thing and is future-compatible with newer versions of systemd.

We should add tests that check that services all pass systemd-analyze verify and if we're paranoid, that the LimitXXX= directives are reflected in systemctl show.

Activity

Show:
Gustav Paul
January 27, 2017, 11:20 PM

The soft:hard parsing of LimitXXX= directives has been backported to systemd v219 running in CentOS 7.3.1611 but is not present in Centos 7.2.1511 (nor presumably earlier version.)

Gustav Paul
January 26, 2017, 2:54 PM

Assignee

Gustav Paul

Labels

Components