Re: Centos6_x64 RPM: why no OOM killer flag?

From: Christoph Berg <cb(at)df7cb(dot)de>
To: Lance French <lfrench(at)companywatch(dot)net>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: Centos6_x64 RPM: why no OOM killer flag?
Date: 2015-02-27 17:33:12
Message-ID: 20150227173312.GA13630@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Re: Lance French 2015-02-27 <5ad48bd4aef4a20841e54642e3e46bc3(at)mail(dot)gmail(dot)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(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Rampersad, Shaun 2015-03-03 13:08:36 Missing PGPORT in initscript causing problems with non standard port
Previous Message Lance French 2015-02-27 15:39:37 Centos6_x64 RPM: why no OOM killer flag?