Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnAeW-0008Mb-3o for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Mar 2017 21:03:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cnAeV-00028s-GG for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Mar 2017 21:03:43 +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 1cnAeU-00028W-4q for pgsql-bugs@postgresql.org; Sun, 12 Mar 2017 21:03:42 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cnAeR-0005WR-BV for pgsql-bugs@postgresql.org; Sun, 12 Mar 2017 21:03:41 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 12CFB20674; Sun, 12 Mar 2017 17:03:37 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 12 Mar 2017 17:03:37 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=z+MGShC7qcjKNJ oDUPKKwbN7IxM=; b=E9VRC4BUmJNmFM2nzepRusr7djYZCp78V7S9RV3X4OUJq0 d6MYXT9/H1xtfsJeElfdGikVazNhiEjrubgHgnmmSJ4rpPgAjBCGVoJOcQan+j65 tIURuAitlnxKPAZ9xYFwlEYzpyy7HPU6fU2BKP1Q+iPySJMOYsfdNBAfa3dQM= X-ME-Sender: X-Sasl-enc: 9JdzQGz3/ZqaxFjQy1A3Q3BzA9Lyasc1z+tWxv39PfDm 1489352616 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id C3BB87E16E; Sun, 12 Mar 2017 17:03:36 -0400 (EDT) Date: Sun, 12 Mar 2017 14:03:12 -0700 From: Andres Freund To: Neo Liu Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14588: Postgres process blocked on semop Message-ID: <20170312210312.5urq2djmdnf4rwlp@alap3.anarazel.de> References: <20170312035621.1416.83543@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, On 2017-03-12 04:30:52 +0000, Neo Liu wrote: > *The pstack screenshot* > It shows two process's stack, one is pid 186397 who were in authentication, > and the other is 188832 who where in INSERT. This suggest you're having quite massive contention around ProcArrayLock. You should consider updating to 9.6. Several releases since 9.2 considerably improved scalability around this (especially 9.6). Regards, Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs