Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6477d66

Browse files
committed
-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
1 parentb60653b commit6477d66

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)

[8]ページ先頭

©2009-2025 Movatter.jp