Closed kkraune closed 2 years ago
The content node will block feed when close to full, based on sampling of its environment.
This does not work in some environments, ref #22415
Suggestion from @geirst :
We should improve the memory size sampling done in proton to also include the cgroup property for memory. Currently we use:
sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE)
We can probably take the minimum of the above and /sys/fs/cgroup/memory/memory.limit_in_bytes.
These fixes are released in 7.586.113, thanks @toregge !
Details on total memory sampling is added to the reference doc: https://github.com/vespa-engine/documentation/pull/2054
The content node will block feed when close to full, based on sampling of its environment.
This does not work in some environments, ref #22415
Suggestion from @geirst :
We should improve the memory size sampling done in proton to also include the cgroup property for memory. Currently we use:
We can probably take the minimum of the above and /sys/fs/cgroup/memory/memory.limit_in_bytes.