Skip to content

Commit fd97fcd

Browse files
committed
Add a new known issue to the out-of-resource doc: active_file memory is not considered as available memory
1 parent b66ce8d commit fd97fcd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/tasks/administer-cluster/out-of-resource.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,4 +341,10 @@ to prevent system OOMs, and promote eviction of workloads so cluster state can r
341341
The Pod eviction may evict more Pods than needed due to stats collection timing gap. This can be mitigated by adding
342342
the ability to get root container stats on an on-demand basis [(https://github.com/google/cadvisor/issues/1247)](https://github.com/google/cadvisor/issues/1247) in the future.
343343

344+
### active_file memory is not considered as available memory
345+
346+
Currently, kubelet considers active_file (# of bytes of file-backed memory on active LRU list) as not reclaimable. For I/O intense workload, this might trigger pod eviction due to memory pressure. There is an open discussion: [https://github.com/kubernetes/kubernetes/issues/43916](https://github.com/kubernetes/kubernetes/issues/43916)
347+
348+
The recommended workaround is to set a memory limit equal to memory request, which requires to estimate the optimal memory limit value for the workload.
349+
344350

0 commit comments

Comments
 (0)