426a4f5f0d
This change cleans up the role a little bit making it more consistent. A new configuration file has been added which will further isolate our services using a named cgroup; this is similar to what we already do in our openstack services. By further isolating the service from the system we get quite a bit more control and accountability. Change-Id: I02a84a2560853473c986ad0db26874341a23fc82 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
12 lines
353 B
Django/Jinja
12 lines
353 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[Service]
|
|
# This creates a specific slice to operate from. The accounting options give us
|
|
# the ability to see resource usage through the `systemd-cgtop` command and
|
|
# further isolate this service from the host machine.
|
|
Slice=memcached.slice
|
|
CPUAccounting=true
|
|
BlockIOAccounting=true
|
|
MemoryAccounting=false
|
|
TasksAccounting=true
|