[master] rpm: patch RLIMIT_NOFILE for EL 7 systems#968
[master] rpm: patch RLIMIT_NOFILE for EL 7 systems#968thaJeztah merged 1 commit intodocker:masterfrom
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.
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.
|
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 <bjorn.neergaard@docker.com>
5411de9 to
4e7a147
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.