Re: Centos6_x64 RPM: why no OOM killer flag? - Mailing list pgsql-pkg-yum

From Christoph Berg
Subject Re: Centos6_x64 RPM: why no OOM killer flag?
Date
Msg-id 20150227173312.GA13630@msg.df7cb.de
Whole thread Raw
In response to Centos6_x64 RPM: why no OOM killer flag?  (Lance French <lfrench@companywatch.net>)
List pgsql-pkg-yum
Re: Lance French 2015-02-27 <5ad48bd4aef4a20841e54642e3e46bc3@mail.gmail.com>
> I'm am in the process of trying to Puppet-ize my manual build process and
> would very much prefer to use RPMs.  One thing that I do is use the use the
> OOM killer option (CFLAGS='-DLINUX_OOM_SCORE_ADJ=0') and have noticed (via
> pg_config) that the postgresql94 RPM does not include this flag in the
> build.  Is there a reason for this? Also, is there way that this feature
> can be used with the RPMs?

That's now controlled via environment variables, see
contrib/start-scripts/linux .

Christoph
--
cb@df7cb.de | http://www.df7cb.de/


pgsql-pkg-yum by date:

Previous
From: Lance French
Date:
Subject: Centos6_x64 RPM: why no OOM killer flag?
Next
From: "Rampersad, Shaun"
Date:
Subject: Missing PGPORT in initscript causing problems with non standard port