pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC.
Date: Fri, 2 Dec 2016 17:34:59 -0500
Message-ID: <D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com> (raw)
In-Reply-To: <20338.1480712866@sss.pgh.pa.us>
References: <E1cCnDa-0003Uh-0b@gemulon.postgresql.org>
	<20338.1480712866@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Dec 2, 2016, at 4:07 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <rhaas@postgresql.org> writes:
>> Add max_parallel_workers GUC.
>> Increase the default value of the existing max_worker_processes GUC
>> from 8 to 16, and add a new max_parallel_workers GUC with a maximum
>> of 8.
> 
> This broke buildfarm members coypu and sidewinder.  It appears the reason
> is that those machines can only get up to 30 server processes, cf this
> pre-failure initdb trace:
> 
> http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=coypu&dt=2016-12-02%2006%3A30%3A49&...
> 
> creating directory data-C ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 30
> selecting default shared_buffers ... 128MB
> selecting dynamic shared memory implementation ... sysv
> creating configuration files ... ok
> running bootstrap script ... ok
> performing post-bootstrap initialization ... ok
> syncing data to disk ... ok
> 
> So you've reduced their available number of regular backends to less than
> 20, which is why their tests are now dotted with
> 
> ! psql: FATAL:  sorry, too many clients already
> 
> There may well be other machines with similar issues; we won't know until
> today's other breakage clears.
> 
> We could ask the owners of these machines to reduce the test parallelism
> via the MAX_CONNECTIONS makefile variable, but I wonder whether this
> increase was well thought out in the first place.

Signs point to "no".  It seemed like a good idea to leave some daylight between max_parallel_workers and max_worker_processes, but evidently this wasn't the way to get there. Or else we should just give up on that thought.

...Robert

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)  latest in thread

Message-ID: <D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com>
Permalink:  ../D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com/
Also on:    postgresql.org/message-id/D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: robertmhaas@gmail.com, tgl@sss.pgh.pa.us, rhaas@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC.
  In-Reply-To: <D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com>
  References: <E1cCnDa-0003Uh-0b@gemulon.postgresql.org> <20338.1480712866@sss.pgh.pa.us> <D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox