-
Notifications
You must be signed in to change notification settings - Fork 145
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
[master] rpm: patch RLIMIT_NOFILE for EL 7 systems #968
Conversation
ea716e3
to
1bf6736
Compare
Looks like containerd did not (yet) backport that change to 1.6 and 1.7, but we need to keep an eye in case they do;
Or we could consider doing the reverse, and patching the containerd systemd unit to (conditionally) remove the |
# Comment TasksMax if your systemd version does not support it. | ||
# Only systemd 226 and above support this option. |
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.
Unrelated, but now wondering what version of systemd RHEL/CentOS 7 are running, and if this comment is still relevant (ISTR it was always just a warning, so not even sure if relevant at all)
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.
Looks like something is failing. Could be due to some of the indirections / shuffling of paths that things are not where you expect them to be (I definitely banged my head against a wall in the past on that matter);
|
Yeah, thought I had this working but I was disentangling it from other changes I was testing last week; will fiddle with the paths a bit. |
1bf6736
to
55f9a86
Compare
ddbd03a
to
5411de9
Compare
RLIMIT_NOFILE defaults to an unusable value on EL 7 systems, but more modern systems have sane defaults. As such, patch the systemd unit only on EL 7 systems to ensure correct behaviour. Signed-off-by: Bjorn Neergaard <[email protected]>
5411de9
to
4e7a147
Compare
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
RLIMIT_NOFILE defaults to an unusable value on EL 7 systems, but more modern systems have sane defaults. As such, patch the systemd unit only on EL 7 systems to ensure correct behaviour.