Getting out ahead of OOM - Mailing list pgsql-admin

From Joseph Hammerman
Subject Getting out ahead of OOM
Date
Msg-id CAHs7QM_8SRfybxg_Pq3orGw5anMkV7OzKYfxDXSBQVWzcXf3Bw@mail.gmail.com
Whole thread Raw
Responses Re: Getting out ahead of OOM
Re: Getting out ahead of OOM
List pgsql-admin
Hello admins,

We run Postgres in a Kubernetes environment, and we have not to date been able to convince our Compute team to create a class of Kubernetes hosts that have memory overcommit disabled.

Has anyone had success tracking all the Postgres memory allocation configurables and using that to administratively prevent OOMing?

Alternatively, has anyone has success implementing an extension or periodic process to monitor the memory consumption of the Postgres children and killing them before the OOM event occurs?

If there are adjacent ideas or approaches that I have not considered, please feel free to share those with me as well.

Thanks in advance for any assistance anyone can provide,
Joseph Hammerman

pgsql-admin by date:

Previous
From: Achilleas Mantzios - cloud
Date:
Subject: Re: Comparing Parameters PRE- and POST- Upgrade - Any script?
Next
From: Tom Lane
Date:
Subject: Re: Getting out ahead of OOM