Re: Setting oom_adj on linux?
Joshua D. Drake <jd@commandprompt.com>
From: "Joshua D. Drake" <jd@commandprompt.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-04T16:03:47Z
Lists: pgsql-hackers
On Mon, 4 Jan 2010 16:57:28 +0100, Magnus Hagander <magnus@hagander.net> wrote: > On Mon, Jan 4, 2010 at 16:45, Alvaro Herrera <alvherre@commandprompt.com> > wrote: >> Magnus Hagander wrote: >>> I realize this is a very platform-specific thing, but should we >>> consider setting the value of /proc/<pid>/oom_adj when running on >>> linux? See: >> >> http://archives.postgresql.org/message-id/20080201223336.GC24780%40alvh.no-ip.org > > Grr. I had zero recollectoin of that :S > > Can't find a useful consensus though? I don't think we should set a setting like that automatically. Perhaps a warning on startup? Joshua D. Drake -- PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org Consulting, Development, Support, Training 503-667-4564 - http://www.commandprompt.com/ The PostgreSQL Company, serving since 1997