diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-12-09 16:48:44 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-12-09 17:06:21 +0100 |
commit | 6d19ecadc869753aaf7875914a3f6e855b97c31b (patch) | |
tree | 6849a5fbfb58450822aaa2ec42d1c94af0508b4b /test/build/preprocess/Decomposed.in | |
parent | 4a52a457d1e33a4817e4ce1dca390ba942eaec44 (diff) | |
download | podman-6d19ecadc869753aaf7875914a3f6e855b97c31b.tar.gz podman-6d19ecadc869753aaf7875914a3f6e855b97c31b.tar.bz2 podman-6d19ecadc869753aaf7875914a3f6e855b97c31b.zip |
inotify: make sure to remove files
Issue #11825 suggests that *rootless* Podman can run into situations
where too many inotify fds are open. Indeed, rootless Podman has a
slightly higher usage of inotify watchers than the root counterpart
when using slirp4netns
Make sure to not only close all watchers but to also remove the files
from being watched. Otherwise, the fds only get closed
when the files are removed.
[NO NEW TESTS NEEDED] since we don't have a way to test it.
Fixes: #11825
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/build/preprocess/Decomposed.in')
0 files changed, 0 insertions, 0 deletions