From: Johannes Truschnigg <johannes@truschnigg.info>
To: pgsql-admin@lists.postgresql.org
Subject: Re: RHEL-8 Kernel Settings
Date: Fri, 11 Jun 2021 09:06:17 +0200
Message-ID: <20210611070617.GB5793@vault.lan> (raw)
In-Reply-To: <a21a096321d234c1fd1a3cb9842df8b8002aae34.camel@cybertec.at>
References: <B564BAE8-FC9F-4925-9D05-55F1F8181EAF@comcast.net>
<a21a096321d234c1fd1a3cb9842df8b8002aae34.camel@cybertec.at>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: johannes@truschnigg.info, pgsql-admin@lists.postgresql.org
Subject: Re: RHEL-8 Kernel Settings
In-Reply-To: <20210611070617.GB5793@vault.lan>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox