Commit 6477d667 authored by Peter Eisentraut's avatar Peter Eisentraut

-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS

parent b60653bc
......@@ -1342,7 +1342,7 @@ echo -17 > /proc/self/oom_adj
Note that this action must be done as root, or it will have no effect;
so a root-owned startup script is the easiest place to do it. If you
do this, you may also wish to build <productname>PostgreSQL</>
with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CFLAGS</>.
with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CPPFLAGS</>.
That will cause postmaster child processes to run with the normal
<varname>oom_adj</> value of zero, so that the OOM killer can still
target them at need.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment