On Fri, Jun 11, 2021 at 08:56:13AM +0200, Laurenz Albe wrote:
> [...]
> I recommend setting
>
> vm.overcommit_memory = 2
Be careful with this though, most applications no not allocate memory as
thoughtfully as Postgres - so if your server is running any other kind of
service/software in addition to Postgres, you should make sure that can
survive Linux not overcommitting like there's no tomorrow, too.
--
with best regards:
- Johannes Truschnigg ( johannes@truschnigg.info )
www: https://johannes.truschnigg.info/
phone: +43 650 2 133337
xmpp: johannes@truschnigg.info