-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the slice is already removed then we mostly encounter two different errors: - `get next line: No such device (os error 19)` - `open memory events file: /sys/fs/cgroup/test.slice/crio-$ID.scope/memory.events: No such file or directory (os error 2)` To avoid such a race we now check after the errors if the file still exists. If not, then we assume an OOM. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
- Loading branch information
1 parent
453ca90
commit d6d9a93
Showing
1 changed file
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters