Files
Valentin Rothberg 6d19ecadc8 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>
2021-12-09 17:06:21 +01:00
..
2021-02-22 09:03:51 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2021-02-22 09:03:51 +01:00
2021-10-27 18:59:56 +02:00
2021-02-22 09:03:51 +01:00
2021-08-20 11:12:05 +02:00
2021-02-22 09:03:51 +01:00
2021-10-27 18:59:56 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-10-12 16:44:25 -04:00
2021-02-22 09:03:51 +01:00
2021-10-27 18:59:56 +02:00
2021-02-22 09:03:51 +01:00
2021-12-09 17:06:21 +01:00
2021-02-22 09:03:51 +01:00