Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 3467B1B6DCC5 for ; Thu, 9 Aug 2012 11:09:30 -0300 (ADT) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SzTQX-00028h-SR for pgsql-admin@postgresql.org; Thu, 09 Aug 2012 14:09:30 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 09 Aug 2012 09:09:16 -0500 Message-Id: <50237E3B02000025000494DB@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Thu, 09 Aug 2012 09:09:15 -0500 From: "Kevin Grittner" To: "Craig Ringer" Cc: "Scott Marlowe" , "pgsql-admin" , "Radovan Jablonovsky" Subject: Re: PostgreSQL oom_adj postmaster process to -17 References: <501925AD020000250004932E@gw.wicourts.gov> <5022849802000025000494BC@gw.wicourts.gov> <50231383.90506@ringerc.id.au> In-Reply-To: <50231383.90506@ringerc.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201208/65 X-Sequence-Number: 39886 Craig Ringer wrote: > On 08/09/2012 04:24 AM, Kevin Grittner wrote: >> http://wiki.postgresql.org/wiki/Number_Of_Database_Connections >> > Can we please please PLEASE link to that as a comment above > max_connections? > > Last time this came up nobody was happy with wording of a comment > so nothing got done. It's a real usability wart - causing > real-world performance and reliability problems - that people > unwittingly raise max_connections to absurd levels because they > get no warnings, hints or guidance of any sort. I see that we currently have five links to wiki.postgresql.org in release notes and four more in the rest of the docs. Are people OK with adding this link to the docs on max_connections? (Feel free to improve it before answering if you have qualms about the specifics on that page.) We do seem to get an awful lot of posts (between here and StackOverflow) from people who assume they need one database connection per active user, and then are surprised that performance is horrible. If we get consensus on linking to this I'll put together a patch to make a brief comment in the docs with a link to the Wiki. -Kevin