-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agent: Use systemctl set-property for transient changes #34
Conversation
Get away fr bash based _set Signed-off-by: Fabian Deutsch <[email protected]>
DO NOT MERGE yet |
I'm getting:
|
Try
https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html |
Signed-off-by: Fabian Deutsch <[email protected]>
_set 0 $FSROOT/sys/fs/cgroup/system.slice/memory.swap.max | ||
|
||
# Set latency target to protect the root slice from io trash | ||
MAJMIN=$(findmnt $FSROOT/ --output MAJ:MIN -n | sed "s/:.*/:0/") # fixme can be manually provided |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we change the minor to 0?
There seems to be a parsing issue:
@fabiand @enp0s3 |
@Barakmor1 the bug is that we are looking at the wrong path In the agent it is $FSROOT - speak you need to look at the root filesystem. |
Get away fr bash based _set
Fixes #32