Skip to content

Conversation

thaJeztah
Copy link
Member

According to the systemd documentation, infinity can be used for all limits;
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Properties

Resource limits may be specified in two formats: either as single value to set a
specific soft and hard limit to the same value, or as colon-separated pair soft:hard
(...) Use the string infinity to configure no limit on a specific resource.

According to the systemd documentation, `infinity` can be used for all limits;
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Properties

> Resource limits may be specified in two formats: either as single value to set a
> specific soft and hard limit to the same value, or as colon-separated pair soft:hard
> (...) Use the string infinity to configure no limit on a specific resource.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 13, 2020

Build succeeded.

@dims
Copy link
Member

dims commented Aug 13, 2020

LGTM 👍

@thaJeztah
Copy link
Member Author

Given that the purpose of these is to disable accounting, I was also looking at the XXAccounting options instead (see docker/for-linux#73). IOW, instead of setting to "unlimited", disable accounting altogether.

I'm not sure if that has the same effect though, so if anyone knows someone with more Systemd experience/insight, input welcome!

Copy link
Member

@dmcgowan dmcgowan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuweid fuweid merged commit 6c74c39 into containerd:master Aug 17, 2020
@thaJeztah thaJeztah deleted the minor_systemd_updates branch August 17, 2020 17:58
rayburgemeestre added a commit to rayburgemeestre/containerd that referenced this pull request Oct 20, 2022
…md_updates"

This reverts commit 6c74c39, reversing
changes made to 09814d4.
rayburgemeestre added a commit to rayburgemeestre/containerd that referenced this pull request Oct 20, 2022
…md_updates"

This reverts commit 6c74c39, reversing
changes made to 09814d4.

Signed-off-by: Ray Burgemeestre <rayb@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants