Skip to content

Commit 6477d66

Browse files
committed
-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
1 parent b60653b commit 6477d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ echo -17 > /proc/self/oom_adj
13421342
Note that this action must be done as root, or it will have no effect;
13431343
so a root-owned startup script is the easiest place to do it. If you
13441344
do this, you may also wish to build <productname>PostgreSQL</>
1345-
with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CFLAGS</>.
1345+
with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CPPFLAGS</>.
13461346
That will cause postmaster child processes to run with the normal
13471347
<varname>oom_adj</> value of zero, so that the OOM killer can still
13481348
target them at need.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy