G"
>echo -1000 &#62; /proc/self/oom_score_adj</PRE
><P>
    in the postmaster's startup script just before invoking the postmaster.
    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 <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
>
    with <TT
CLASS="LITERAL"
>-DLINUX_OOM_SCORE_ADJ=0</TT
> added to <TT
CLASS="VARNAME"
>CPPFLAGS</TT
>.
    That will cause postmaster child pr