Hi,
How to invoke OOM killer for pg process?
Some easy "hack" for test purpose.
OSRocky Linux release 9.2 (Blue Onyx)
pg15.2
https://www.percona.com/blog/out-of-memory-killer-or-savior/
I'd run "wapoff -a", set vm.overcommit_memory=2, and then run a simple C program that mallocs a lot of memory, mlocks it and then fills it with FF bits.
--
Born in Arizona, moved to Babylonia.
Born in Arizona, moved to Babylonia.