Describe the bug
I created a container with a maximum memory limit of 1GB. I started a process A inside the container, which uses the YARA API to scan other processes.
During the YARA scanning process, a large amount of cache is generated due to intensive I/O operations.
As a result, the sum of RSS (200M) and cache (900M) of all processes in the container exceeded 1GB, leading to the OOM kill of process A.
Expected behavior
Can YARA be controlled through parameters to perform I/O operations in direct I/O mode?
Describe the bug I created a container with a maximum memory limit of 1GB. I started a process A inside the container, which uses the YARA API to scan other processes. During the YARA scanning process, a large amount of cache is generated due to intensive I/O operations. As a result, the sum of RSS (200M) and cache (900M) of all processes in the container exceeded 1GB, leading to the OOM kill of process A.
Expected behavior Can YARA be controlled through parameters to perform I/O operations in direct I/O mode?
Please complete the following information: