Re: Setting oom_adj on linux?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>, Magnus Hagander <magnus@hagander.net>, Alex Hunsaker <badalex@gmail.com>, Alvaro Herrera <alvherre@commandprompt.com>, Andrew Dunstan <andrew@dunslane.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-08T17:56:28Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > There could well be moving parts if the user wants to adjust the value > being written to oom_adj, and can't because it's compiled in. I don't > see why we can't just add a GUC for this and be done with it. The number of users who will want to do that might be different from epsilon, but not by enough to justify a GUC. Furthermore, we don't have any reasonable infrastructure for supporting platform-specific GUCs, which means that the amount of effort you're proposing is extremely large. regards, tom lane