Actions
Issue #7192
closedEnable systemd resource tracking for Pulp units
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Problem 1: Checking memory consumption of tasks running on workers is a multi-step process (hunt down PID, disambiguate it from all the others, etc).
Problem 2: It's difficult to measure the memory consumption total across multiple tasks and multiple workers.
Systemd allows you to opt-in to memory tracking, and it tracks across forks as well. So the memory consumption of a worker unit is the consumption of the entire group of processes.
Likewise the memory consumption of the "slice" is the memory consumption of the group of worker units, which is neat.
Actions
Ask systemd to track memory consumption
Allows tracking memory consumption on a per-unit and per-cgroup basis.
https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#MemoryAccounting=
closes: #7192 https://pulp.plan.io/issues/7192