Re: Invoke OOM killer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux