Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yfp9y-0001wJ-5E for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Apr 2015 12:32:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yfp9x-00064t-JE for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Apr 2015 12:32:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yfp9w-00062u-Ag for pgsql-bugs@postgresql.org; Wed, 08 Apr 2015 12:32:44 +0000 Received: from nm20-vm5.bullet.mail.ne1.yahoo.com ([98.138.91.242]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Yfp9j-00064s-EI for pgsql-bugs@postgresql.org; Wed, 08 Apr 2015 12:32:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1428496348; bh=cMIjiiAXUcxD6bv0uTLXQXaSutx6s/erwL1GuOapTRQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=auFX8ClLtxJQWmLCc+WgeEolsuQEHf5oTlmuMR9P8ZGU3I+TCktE7eDf1LytF/GscozQG8rp+IuhpUt38gkrwCtlc8tGgyanwSNO2XFX4OcVLvBlRTUaPGK6FZo/2yGNUM2PS2+sA0ScfmpYiM+hhdgi3QpMtGfnwVIyinTqJ4LYy7ZuQUECdnsIjyyzgmykPXprxo0XuqnAgjyJftu6hgKR79RgFxJvaDPrc2xGAzhR2QVExsXo1UBy95Ks8OPXwyvuviqPdlwfJ+RnKkxqn3C3Y0ab2DnnI6FiTIswydn5tp2XHwMFg+9og4HtatDRuSoBZG1b/MylpFKGfDapiQ== Received: from [98.138.226.176] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 08 Apr 2015 12:32:28 -0000 Received: from [98.138.226.168] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 08 Apr 2015 12:32:28 -0000 Received: from [127.0.0.1] by omp1069.mail.ne1.yahoo.com with NNFMP; 08 Apr 2015 12:32:28 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 186430.27192.bm@omp1069.mail.ne1.yahoo.com X-YMail-OSG: .8KiWd4VM1lJO1Ry6qGgXF8tK_UF3wQIRHxaGjISaCpSAryq7Fb.6NTOsM0fcyL ly65F2ToAhKY0i.YbTSaP1LprHKRH_KO40ABNqxihV8169brFp8U3Q.euqzxSldLIR7kQxacbMmt Q24pvgpz4FDDZZ95BRUWCOXV4Qn2n1nMYOKTFbmrugkV1NhCARD0VEpEBzCRXq_mnIw82VmAaYWC m_CZJPkad8V40.YWOWC1RpOyqtoEJ9hnMSg1s4qYxMQz7MQk7m7HaTyNGyyvX0tM2N4cMHHl3bF6 kO0GBfq_brxWiZ0d4qowgNfPFgENL7AiCQifbDGhJvHnfIIOWomES_jYKfwk_02fAcPs.I3.Fh7Q 4eLtXi3r3GHJ4twQOEvMiHo1aU6AfHtkOq.gLIE0F2H4l9Gr4WNfnx0yQ0VQxZZjhQyF3iAWWC6p c1gudSOocZlvlXaNqF1a33LX616gXF3ftFrpKRmFZCfgUBlK1A7SO1dEf1W_tE93fXPoPHavyljX lTPGpgtz50lNDVZ2LDW29vkQ- Received: by 98.138.101.167; Wed, 08 Apr 2015 12:32:27 +0000 Date: Wed, 8 Apr 2015 12:32:20 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: Timothy Garnett Cc: "pgsql-bugs@postgresql.org" Message-ID: <484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1146 X-Pg-Spam-Score: -2.0 (--) 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 Timothy Garnett wrote: >>> - why didn't vacuum_db -a -F free up more members files? >> >> Are you sure that while the problem was developing the primary >> cluster didn't have any long-running transactions (including >> those left "idle in transaction" or prepared transactions)? Was >> there a checkpoint following the vacuumdb -a -F run? > > The vacuum_db was run after we recovered from backup (which > involved restarting the server) so at the time the vacuum_db > started there were no open transactions. There have have been > checkpoints since the vacuum_db finished as well. > > In the lead up to the problem there wouldn't have been any > transactions open more then a couple of hours (the oldest members > file was over 6 months old). Thanks; that helps narrow where we need to look for the bug. Just to be sure, what are the results of?: SHOW max_prepared_transactions; If that is non-zero, do you have any monitoring for rows in the pg_prepared_xacts view with a "prepared" value older than some reasonable threshold? -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs