Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fLcRj-0007y3-Ii for pgsql-general@arkaria.postgresql.org; Wed, 23 May 2018 22:41:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fLcRi-00017Q-9H for pgsql-general@arkaria.postgresql.org; Wed, 23 May 2018 22:41:26 +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.89) (envelope-from ) id 1fLcOA-0003mU-IA for pgsql-general@lists.postgresql.org; Wed, 23 May 2018 22:37:46 +0000 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fLcO6-00033W-9j for pgsql-general@postgresql.org; Wed, 23 May 2018 22:37:45 +0000 Received: by mail-qt0-x244.google.com with SMTP id q6-v6so30291686qtn.3 for ; Wed, 23 May 2018 15:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=d8lNQtfEL6xmqzEHRiLCHXtA5hVu3dk3zCwiy6wdfa8=; b=qAQN6ZhJ/WTntkiae7IlUBp0YznekgVK3avTAh66hvG1REC7NTjDgMTQgbPCHJE2ST +FoRK6/GBvgPpmAwrKFQvy6yo/LXO4bh5/bLG6APvqjKcOFMxuZBdTS4bCHDE173tnSa KOpXVUNLR9/TIcNFZfDxHc4TAo13HdPvR+yG4w7i5YkkAhUJrLyiMBHWrpl+VDnNC0D/ BESPAPmDICjr48R0uqe+1LmYnrhJX7a9Jmq9SeLM5j7sriUt0l7p+YJFB6dV5/HjSK0r RKanHhJ000qoigQwS8M5WdHILOgDCcDYpn/hC05gXHPzGelxMgctwXK5bePCzpbyqOVL L7eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=d8lNQtfEL6xmqzEHRiLCHXtA5hVu3dk3zCwiy6wdfa8=; b=a7jaCA1/HmlYxAZ4eA0W7z+UPN9clUQIoQwdrb6tzubI/Bhy0VIDX4l/C7+XVPK3eh z24ZHNJmtTiOLSzndkoD2Kxq8oP5iAiro8h3JQb6KAPC6HQ0cNrUdrB2tnnORYmvDHBG Y8cdMXy7uUslkG3T8x6FeSsawcUIIb091G3RBJ1+wR54eva8/cO9vqiIReyg0J6gowhi mVijzbIyCKvAcvsjn6tKo+blnCBMZ3csCKfzmlmogWzyuNI8vACXHFLuhWaPD1yO8nqA EPbma9H2h43HjrgISy/pM5zS/NXh2++U/WwVX0PtJUzKNxTA5LrhbOsJQ13ywkn34KW6 8Lqg== X-Gm-Message-State: ALKqPwc3FEBv64c/I3odyxZRgfrsAAkQKrt+826T0SGlcv1wcvTBV9ap N3gA/ZP/Pu4/ayYx9HH+GDdrYA== X-Google-Smtp-Source: AB8JxZoFwX0mdiU3n3um5fo8e2q4/Jf3a/ARxRl1jV4W9759oKRxOjHYf8noGjAPsDX9auReLqZZXg== X-Received: by 2002:a0c:b02e:: with SMTP id k43-v6mr4507318qvc.231.1527115060427; Wed, 23 May 2018 15:37:40 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([179.57.112.31]) by smtp.gmail.com with ESMTPSA id k46-v6sm16110937qta.65.2018.05.23.15.37.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 15:37:39 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 185DB84E; Wed, 23 May 2018 18:37:38 -0400 (-04) Date: Wed, 23 May 2018 18:37:38 -0400 From: Alvaro Herrera To: Tom Lane Cc: Tiffany Thang , Thomas Munro , Forums postgresql Subject: Re: pg_multixact/members growing Message-ID: <20180523223738.jt6bhksace23o3js@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13256.1527113781@sss.pgh.pa.us> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-May-23, Tom Lane wrote: > Tiffany Thang writes: > > Where do I find pg_controldata? I could not locate it on the file system. > > Hmm, should be one of the installed PG executables. > > > pg_clog/ or pg_subtrans/ or pg_multixact/offsets/ are getting larger too > > but by only a few hundreds MBs. > > This is consistent with the idea that something is holding back the > oldest-transaction horizon. (However, I'd think you'd also be having > serious problems with table bloat if that were true, so it's a bit > mystifying.) Did you check for unclosed prepared transactions? Another option is that you have a standby server with hot_standby_feedback enabled, and an open transaction there. I'm not sure to what extent it is possible for that to cause multixact problems, but it wouldn't hurt to check. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services