-
Notifications
You must be signed in to change notification settings - Fork 3.6k
systemd: use LimitNOFILE=infinity instead of hard-coded max value #4475
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
Conversation
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>
Build succeeded.
|
LGTM 👍 |
Given that the purpose of these is to disable accounting, I was also looking at the I'm not sure if that has the same effect though, so if anyone knows someone with more Systemd experience/insight, input welcome! |
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.
LGTM
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.
LGTM
According to the systemd documentation,
infinity
can be used for all limits;https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Properties