Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCwQ8-000315-Kg for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Dec 2016 22:35:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cCwQ7-0007s8-VY for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Dec 2016 22:35:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cCwQ7-0007pu-2G for pgsql-hackers@postgresql.org; Fri, 02 Dec 2016 22:35:07 +0000 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cCwQ3-0002G3-Gp; Fri, 02 Dec 2016 22:35:06 +0000 Received: by mail-qk0-x242.google.com with SMTP id n204so32310506qke.2; Fri, 02 Dec 2016 14:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-transfer-encoding :message-id:cc:from:subject:date:to; bh=QFdx5LeQU0efSM91unoL17AKMgzs31dgWSrLIIi57Yg=; b=Bz3JMtUVDAgKzGzfamut2hhqpW2vgjEuOTUDg39VOkMtko7ZPOyx68ue2uPHoaW5qw 8fYSkyIqT5WM9yQSHqYk5zp0d9mgFqL1LauN0n6UQQbEdp8ADm5aE1IaXWE+K0XyjUL3 E0iOnZwJXgA6HZuJmjx6AL7+Wu6rUgVpCooPpZRlMxKBtBQq7+FvI+Gnp6qT2Z6lw0CR DHjOd2UGEpdbd9lI6iPx5PJSVRjLevvqKKdNUUOeDCDsBu7xpWLh3QMFc9Rz9vwdfx1g yeJlyaMZRp5i7t7ihO3PLc3PREZfFmHdRMs+oLlIfTzogwUaA+1vGpishN+OwUOY1Emr AOLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=QFdx5LeQU0efSM91unoL17AKMgzs31dgWSrLIIi57Yg=; b=k44kDUQO7e8wSnscjIrZC5eSV660GGYyaar1ARElz4KHgfJI7inxn3AYKJ5ieW4+LQ 5B70XcnXgadATng/Z/hdLKEfvoZaeElWILykJGTCmLYVk05I6a+cMPQ/ATx7zSN6QaoL k0NN5PnQsm3Vh+kVTbzUpPfaPJb9tI3+MUZkJM+8daaysSqZqFAiE6F/QVYD/RQcQAli iavmBZ0kHIXgY6OUTyZeVY1cYpzElhgnjxgTIPahoWbFZmNRvnNuh6n56cKzES/BRij2 5O6/ufjLXpVex0ANXMPr0M/advaKOM29ie/5o9askV3dEHrXMdkC2LPK3Xic64F+1dlm OoIg== X-Gm-Message-State: AKaTC00OISSjIMHyOprHsb4yCqo1cMrewTy4cEJWlYr24DQJal/0zOby8j+hxaEzgfG5cw== X-Received: by 10.55.15.152 with SMTP id 24mr41123022qkp.45.1480718101763; Fri, 02 Dec 2016 14:35:01 -0800 (PST) Received: from [10.134.187.181] ([166.170.35.100]) by smtp.gmail.com with ESMTPSA id i19sm3670758qte.8.2016.12.02.14.35.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Dec 2016 14:35:01 -0800 (PST) References: <20338.1480712866@sss.pgh.pa.us> Mime-Version: 1.0 (1.0) In-Reply-To: <20338.1480712866@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: Robert Haas , pgsql-hackers@postgresql.org X-Mailer: iPhone Mail (13G35) From: Robert Haas Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC. Date: Fri, 2 Dec 2016 17:34:59 -0500 To: Tom Lane X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Dec 2, 2016, at 4:07 PM, Tom Lane wrote: > Robert Haas 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. >=20 > 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: >=20 > http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=3Dcoypu&dt= =3D2016-12-02%2006%3A30%3A49&stg=3Dinitdb-C >=20 > 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 >=20 > So you've reduced their available number of regular backends to less than > 20, which is why their tests are now dotted with >=20 > ! psql: FATAL: sorry, too many clients already >=20 > There may well be other machines with similar issues; we won't know until > today's other breakage clears. >=20 > 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 bet= ween 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 --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers