On 7/6/23 11:27, kaido vaikla wrote:
Hi,
How to invoke OOM killer for pg process?
Some easy "hack" for test purpose.
OS
Rocky Linux release 9.2 (Blue Onyx)
pg
15.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.